Re: 'strerror' test fails on HP-UX 11.00

2007-10-26 Thread Bruno Haible
Eric Blake wrote: > Yes, since the Austin group discussed rather recently that returning the > empty string is just as broken as returning NULL. OK, applied. > Does this need any m4 touchups? No, strerror.m4 already tests against an empty string. Bruno

Re: 'strerror' test fails on HP-UX 11.00

2007-10-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 10/26/2007 4:08 AM: Hi Bruno, > > This patch fixes it for me. OK to commit? > > > 2007-10-26 Bruno Haible <[EMAIL PROTECTED]> > > * lib/strerror.c (rpl_strerror): Return "Unknown error ..." also if > str

'strerror' test fails on HP-UX 11.00

2007-10-26 Thread Bruno Haible
Hi Eric, Seen on HP-UX 11.00: test-strerror.c:52: assertion failed sh[9]: 4155 Abort FAIL: test-strerror In config.status: GNULIB_STRERROR = 1 HAVE_DECL_STRERROR = 1 REPLACE_STRERROR = 1 In config.h: /* Define to 1 if you have the declaration of `strerror', and to 0 if you #define HAVE_DE