-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Martin Koeppe on 9/26/2007 7:02 PM:
Hi Martin, >> rather than patching error.c, I went with the option of fixing Interix's >> non-POSIX strerror instead (C99 and POSIX require strerror to always >> return non-NULL, even on failure). Perhaps you can give it a spin, since >> I don't have an Interix environment set up? > > Wait with the change! I just tested strerror() and strerror_r() on > Interix, and they already report "Unknown error: 4294967294" for e.g. > -2. Sorry. Does the test-strerror.c program pass without the use of a replacement? If so, then maybe the easiest thing is to just delete the strerror module, under the assumption that it is portable after all for modern hosts. > > While trying to debug this I noticed the missing translation from errno > -1. But I now think it is probably a memory corruption issue or > something like that, so that strerror()/strerror_r() gets confused, too. > > Sorry for the inconvenience. That's okay. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG/osB84KuGfSFAYARAs3pAJ46YQtz5r1OGebRKAfCslwom+DpSwCg1pSb q+pQtUzlLJTo4FO+r150OcE= =5/rJ -----END PGP SIGNATURE-----