To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=54730





------- Additional comments from [EMAIL PROTECTED] Sun Sep 18 00:44:16 -0700 
2005 -------
As alternative I suggest to use instead of the string built using
all the language names, its md5sum, like in this small shell script:

#!/bin/sh
LONG_FILENAME="en-US_af_ar_bn_be-BY_bg_ca_cs_cy_da_de_el_en-GB_eo_es_et_eu_fi_fr
_ga_gl_gu-IN_he_hi-IN_hr_hu_it_ja_km_kn-IN_ko_lo_lt_ms_ne_nb_nl_nn_nr_ns_pa-IN_p
l_pt_pt-BR_ru_rw_sk_sl_sh-YU_sr-CS_ss_st_sv_sw-TZ_ta-IN_th_tn_tr_ts_ve_vi_xh_zh-
CN_zh-TW_zu"
SHORTER_FILENAME=`echo $LONG_FILENAME | md5sum |cut -f1 -d" "`
echo $SHORTER_FILENAME

which gives:

1bacc6d05a040cae0afe7acacd279fc1

So we'll have:

.../src680-m128/instsetoo_native/util/OpenOffice/install/1bacc6d05a040cae0afe7acacd279fc1_download_inprogress
.../src680-m128/instsetoo_native/util/OpenOffice/logging/1bacc6d05a040cae0afe7acacd279fc1/log_SRC680__1bacc6d05a040cae0afe7acacd279fc1.log

in this way the filename lenght will be of only 32 characters long
(or 52 with the appende string _download_inprogress), but will be
always the same, according to any number of language built, and the
dependency on the language names will be also preserved.

WDYT?


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to