Re: wcsxfrm() with empty locale crashes the runtime

2019-03-20 Thread LRN
On 19.03.2019 23:42, Corinna Vinschen wrote: > On Mar 19 22:28, LRN wrote: >> The testcase is attached. Running it with Cygwin-i386 leads to a crash. > > I pushed a patch and uploaded new developer snapshots to > https://cygwin.com/snapshots/ > > Pleas give them a try. > Gave them a try, doesn'

Re: wcsxfrm() with empty locale crashes the runtime

2019-03-19 Thread Brian Inglis
On 2019-03-19 13:28, LRN wrote: > The testcase is attached. Running it with Cygwin-i386 leads to a crash. My > guess is that the implementation is not POSIX-conformant and tries to > dereference the first argument (NULL), even though the third argument is 0. > > Tested with Cygwin-3.0.4. $ man wc

Re: wcsxfrm() with empty locale crashes the runtime

2019-03-19 Thread Corinna Vinschen
On Mar 19 22:28, LRN wrote: > The testcase is attached. Running it with Cygwin-i386 leads to a crash. My > guess is that the implementation is not POSIX-conformant and tries to > dereference the first argument (NULL), even though the third argument is 0. > > Tested with Cygwin-3.0.4. > #include

wcsxfrm() with empty locale crashes the runtime

2019-03-19 Thread LRN
The testcase is attached. Running it with Cygwin-i386 leads to a crash. My guess is that the implementation is not POSIX-conformant and tries to dereference the first argument (NULL), even though the third argument is 0. Tested with Cygwin-3.0.4. #include #include #include int main () { wcha