This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Regression with snap-20050828 ?
- From: Angelo Graziosi <Angelo dot Graziosi at roma1 dot infn dot it>
- To: cygwin at cygwin dot com
- Date: Tue, 30 Aug 2005 01:26:52 +0200 (MET DST)
- Subject: Regression with snap-20050828 ?
Some weeks ago, someone sends the following test programs that did not
worked with the snap of that time:
------------------------------------------------------
/* test-strerror.c */
#include <stdio.h>
#include <string.h>
int main(int argc, char *argv[])
{
char *s;
s = strerror(-8);
printf("strerror returned pointer %p\n", s);
printf("string is \"%s\"\n", s);
return 0;
}
------------------------------------------------------
A new snap (I do not remember which) was released with which the result
was:
____________________________________________________
$ ./test-strerror.exe
strerror returned pointer 0x22fa08
string is "error -8"
____________________________________________________
This was the result until the snap 20050826.
Now with snap 20050828 the result is:
_______________________________________________________
$ ./test-strerror.exe
strerror returned pointer 0x22fa00
string is "Unknown error 4294967288"
_______________________________________________________
Perhaps, this is not a regression but only a change in cygwin behaviour.
Best regards,
angelo.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/