Overview
| Artifact ID: | 95a88309fe8732099301aa59b5e12756baa2b8cb |
|---|---|
| Ticket: | 3536888fffffffffffffffffffffffffffffffff
Locale guessing of msgcat fails on (some) Windows 7 |
| User & Date: | oehhar on 2012-06-29 14:53:22 |
Changes
- icomment:
Dear Jan, thank you for the two modifications. "key" was lost somewhere... Test is succesfull. Two remarks: 1) for me, the purpose of '[info sharedlibextension] ne ".dll"' is not obvious. I would like a comment like: "on windows but not cygwin" Or I would like a more explicit "windows and not cygwin" check using the platform array/packages What exactly happens on cygwin ? Is there no registry package ? 2) Small optimisation: Replace: # # The rest of this routine is special processing for Windows; # all other platforms, get out now. # if {[info sharedlibextension] ne ".dll"} { mclocale C return } # # On Windows, try to set locale depending on registry settings, # or fall back on locale of "C". # if {[catch { package require registry }]} { mclocale C return } by: # The rest of this routine is special processing for Windows; # all other platforms, get out now. # if {[info sharedlibextension] ne ".dll" || [catch {package require registry}] } { mclocale C return } # # On Windows, try to set locale depending on registry settings, # or fall back on locale of "C". -END- Thank you, Harald - login: "oehhar"
- mimetype: "text/plain"
- username: "oehhar"