Re: [Tuxpaint-devel] Locale detection problem on 64bit version for windows.
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: TOYAMA Shin-i. <sh...@wm...> - 2021-10-26 15:07:47
|
Thanks bill, I think it is fixed. What I did was, again, to simply remove the windows-specific parts in which _nl_locale_name() is called. I committed it to the git and prepared 0.9.26-6 packages although I am not sure if it is neccesary. https://z1.plala.jp/tuxpaint/release/0.9.26-6/ In these days, multiple bugs on windows build unrelated to each other have become apparent, causing a lot of confusion, but I hope this will settle things down for a while ;-). Thanks, Bill Kendrick wrote in <202...@sh...> >On Tue, Oct 26, 2021 at 12:23:45AM +0900, TOYAMA Shin-ichi wrote: >> Hi developpers, >> >> At first, please take note that the problem is that 64bit >> executable for windows crash when it start unless specific locale >> is set by config/command line option/environment variable. >> >> I found that the crash occurs in mysetenv() in i18n.c when >> strlen(value) is called. > >This probably won't "fix" the overall issue that's causing >the crash, but I've updated mysetenv() to be lest trusting of >its incoming arguments. If either `name` and/or `value` is NULL, >it will avoid doing anything dangerous with them, and spit out >a warning to STDERR. > > >https://sourceforge.net/p/tuxpaint/tuxpaint/ci/1bee12246eedd6ddc4790bb5dacdec6b50685a6e/ > >-bill! -- TOYAMA Shin-ichi mailto:sh...@wm... |