Re: msvcrt: strncpy doesn't compliant C standard (try 3)

2013-08-12 Thread Álvaro Nieto
Thank you for your feedback. I'll adjust the tests with your comments and I'll try to use testbot. 2013/8/8 Dan Kegel > Minor problem: > > +static void test_strncpy(void) > +{ > +size_t len = 10; > +char *ret; > +char dst[len + 1]; > > Hmm. That last line is a VLA, and might not co

re: msvcrt: strncpy doesn't compliant C standard (try 3)

2013-08-07 Thread Dan Kegel
Minor problem: +static void test_strncpy(void) +{ +size_t len = 10; +char *ret; +char dst[len + 1]; Hmm. That last line is a VLA, and might not compile in all C compilers because it's not allowed in C89. http://stackoverflow.com/questions/448844/variable-sized-arrays-in-c Wine seems

Re: msvcrt: strncpy doesn't compliant C standard (try 3)

2013-08-07 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=26638 Your paranoid android