[yast-commit] r47792 - in /trunk/country: VERSION package/yast2-country.changes timezone/src/dialogs.ycp
Author: jsuchome Date: Thu May 22 14:35:37 2008 New Revision: 47792 URL: http://svn.opensuse.org/viewcvs/yast?rev=47792&view=rev Log: - do not sort timezones with ko_KR locale: workaround preventing the crash in installation (bnc#385172) - 2.16.26 Modified: trunk/country/VERSION trunk/country/package/yast2-country.changes trunk/country/timezone/src/dialogs.ycp Modified: trunk/country/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/VERSION?rev=47792&r1=47791&r2=47792&view=diff ============================================================================== --- trunk/country/VERSION (original) +++ trunk/country/VERSION Thu May 22 14:35:37 2008 @@ -1 +1 @@ -2.16.25 +2.16.26 Modified: trunk/country/package/yast2-country.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/package/yast2-country.changes?rev=47792&r1=47791&r2=47792&view=diff ============================================================================== --- trunk/country/package/yast2-country.changes (original) +++ trunk/country/package/yast2-country.changes Thu May 22 14:35:37 2008 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu May 22 14:29:24 CEST 2008 - jsuchome@suse.cz + +- do not sort timezones with ko_KR locale: workaround preventing + the crash in installation (bnc#385172) +- 2.16.26 + +------------------------------------------------------------------- Fri May 16 16:40:22 CEST 2008 - jsrain@suse.cz - added categories Settings and System into desktop file Modified: trunk/country/timezone/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/timezone/src/dialogs.ycp?rev=47792&r1=47791&r2=47792&view=diff ============================================================================== --- trunk/country/timezone/src/dialogs.ycp (original) +++ trunk/country/timezone/src/dialogs.ycp Thu May 22 14:35:37 2008 @@ -481,10 +481,14 @@ zones[yast2zonetab[key]:key] = name; return [ name, key ]; }); - trl = sort (list a, list b, (list<list>) trl, { - list lsorted = lsort ([a[0]:"", b[0]:""]); - return (lsorted[0]:"" == a[0]:"" && a[0]:"" != b[0]:""); - }); + // prevent the crash in installation (workaround for bnc#385172) + if (Language::language != "ko_KR") + { + trl = sort (list a, list b, (list<list>) trl, { + list lsorted = lsort ([a[0]:"", b[0]:""]); + return (lsorted[0]:"" == a[0]:"" && a[0]:"" != b[0]:""); + }); + } return $[ "name" : region["name"]:"", "entries" : trl, -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsuchome@svn.opensuse.org