|
2013-02-14
| ||
| 19:14 | • Closed ticket [3604576fff]: msgcat -1.5.0.tm error on windows XP plus 7 othe... artifact: fa24d679d5 user: nijtmans | |
| 18:12 | • Ticket [3604576fff]: 4 changes artifact: f989981d9d user: oehhar | |
| 17:44 | • Ticket [3604576fff]: 4 changes artifact: bd7dc00a5f user: nijtmans | |
| 17:33 | • Ticket [3604576fff]: 4 changes artifact: 0e079c8ca7 user: oehhar | |
| 16:38 | • Ticket [3604576fff]: 4 changes artifact: 9ab74a52bc user: nijtmans | |
| 16:07 | • Ticket [3604576fff]: 1 change artifact: 25e5277d75 user: nijtmans | |
|
2013-02-13
| ||
| 20:53 | • New ticket [3604576fff]. artifact: 30c981f386 user: fredstmk | |
msgcat -1.5.0.tm error on windows XP
Closed / Fixed3604576fffffffffffffffffffffffffffffffffCreated 14 years agoUpdated 14 years ago
Descriptionplain2013-02-13 20:53:57
msgcat.tm throws an error on windows xp if
HKEY_CURRENT_USER\Control Panel\International
does not exist.
this problem exists in 8.5.13 and 8.6.0
I discovered this problem on [clock format [clock seconds] -format ...]
line 553:
set key {HKEY_CURRENT_USER\Control Panel\International}
if {([registry values $key "LocaleName"] ne "") ...
nijtmans Ticket [3604576fff]: 1 change
[History diff]2013-02-14 16:07:41
nijtmansplain2013-02-14 16:38:59
Suggested fix in branch "bug-3604576"
oehharplain2013-02-14 17:33:54
Jan, thank you, careing. I was on business trip yesterday, saw it only today. About the patch: The line which failes was just designed to catch the issue which shows up. I normally prefer to avoid catch to not pollute the error stack. I also try to not catch more than necessary. I propose to change the solution, that: - only the "registry get" is catched - if it fails, the second method following is used. This is necessary, because under older Windows Version, this was the prefered method I will change this on fossil and you are invited to review. Thank you, Harald
nijtmansplain2013-02-14 17:44:53
> - if it fails, the second method following is used. > This is necessary, because under older Windows Version, this was the > prefered method In this case, if the $key is missing, the next method will fail as well, so there is no reason to continue at all. On your other remark (catch not more than necessary) I agree with that.
oehharplain2013-02-14 18:12:13
You are right. Modified version with finer granulated catch uploaded. Both versions are ok for me. Feel free to merge to trunks, Harald
nijtmansplain2013-02-14 19:14:14
allow_comments - 1 I tested it, and it looks good to me. Merged to core-8-5-branch and trunk now.
Log in (anonymous is fine) to add a comment.