This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]