<i>Locale guessing of msgcat fails on (some) Windows 7</i> status still Open with 4 other changes
by
.
D 2012-06-29T14:53:22
J icomment Dear\sJan,\nthank\syou\sfor\sthe\stwo\smodifications.\n"key"\swas\slost\ssomewhere...\nTest\sis\ssuccesfull.\n\nTwo\sremarks:\n1)\sfor\sme,\sthe\spurpose\sof\s'[info\ssharedlibextension]\sne\s".dll"'\sis\snot\sobvious.\nI\swould\slike\sa\scomment\slike:\s"on\swindows\sbut\snot\scygwin"\nOr\sI\swould\slike\sa\smore\sexplicit\s"windows\sand\snot\scygwin"\scheck\susing\sthe\splatform\sarray/packages\n\nWhat\sexactly\shappens\son\scygwin\s?\sIs\sthere\sno\sregistry\spackage\s?\n\n2)\sSmall\soptimisation:\nReplace:\n#\n\s\s\s\s#\sThe\srest\sof\sthis\sroutine\sis\sspecial\sprocessing\sfor\sWindows;\n\s\s\s\s#\sall\sother\splatforms,\sget\sout\snow.\n\s\s\s\s#\n\s\s\s\sif\s{[info\ssharedlibextension]\sne\s".dll"}\s{\nmclocale\sC\nreturn\n\s\s\s\s}\n\s\s\s\s#\n\s\s\s\s#\sOn\sWindows,\stry\sto\sset\slocale\sdepending\son\sregistry\ssettings,\n\s\s\s\s#\sor\sfall\sback\son\slocale\sof\s"C".\n\s\s\s\s#\n\s\s\s\sif\s{[catch\s{\npackage\srequire\sregistry\n\s\s\s\s}]}\s{\nmclocale\sC\nreturn\n\s\s\s\s}\nby:\n\s\s\s\s#\sThe\srest\sof\sthis\sroutine\sis\sspecial\sprocessing\sfor\sWindows;\n\s\s\s\s#\sall\sother\splatforms,\sget\sout\snow.\n\s\s\s\s#\n\s\s\s\sif\s{[info\ssharedlibextension]\sne\s".dll"\n||\s[catch\s{package\srequire\sregistry}]\n\s\s\s\s}\s{\nmclocale\sC\nreturn\n\s\s\s\s}\n\s\s\s\s#\n\s\s\s\s#\sOn\sWindows,\stry\sto\sset\slocale\sdepending\son\sregistry\ssettings,\n\s\s\s\s#\sor\sfall\sback\son\slocale\sof\s"C".\n-END-\n\nThank\syou,\nHarald\n
J login oehhar
J mimetype text/plain
J username oehhar
K 3536888fffffffffffffffffffffffffffffffff
U oehhar
Z d8491aa07ecf622f0de1d31dc72bc1dc