2011-05-21 Bruno Haible <bruno@clisp.org>
+ strerror_r: Fix comments.
+ * lib/strerror_r.c (strerror_r): Fix comment about Cygwin and sys_nerr.
+
+2011-05-21 Bruno Haible <bruno@clisp.org>
+
relocatable-prog-wrapper: Fix possible link error.
* m4/setenv.m4 (gl_FUNC_SETENV_SEPARATE): Move determination of
HAVE_SETENV and REPLACE_SETENV and AC_LIBOBJ invocation from here...
extern int sys_nerr;
# endif
-/* Get sys_nerr, sys_errlist on native Windows and Cygwin. */
+/* Get sys_nerr, sys_errlist on native Windows. */
# include <stdlib.h>
# else
and <errno.h> above.
HP-UX: sys_nerr, sys_errlist are declared explicitly above.
native Win32: sys_nerr, sys_errlist are declared in <stdlib.h>.
- Cygwin: sys_nerr, sys_errlist are declared in <stdlib.h>. */
+ Cygwin: sys_nerr, sys_errlist are declared in <errno.h>. */
if (errnum >= 0 && errnum < sys_nerr)
{
# if HAVE_CATGETS && (defined __NetBSD__ || defined __hpux)