diff options
author | Bruno Haible <bruno@clisp.org> | 2011-05-22 04:23:33 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-05-22 04:23:33 +0200 |
commit | 29ab5525603344e191913dde293d2b77c9728a55 (patch) | |
tree | 310c29b68fc721fed77f547672e1cb1895655faf /lib/strerror_r.c | |
parent | 325f131b3d6bdf1b14644f51606d81ee98f6867b (diff) | |
download | gnulib-29ab5525603344e191913dde293d2b77c9728a55.tar.gz |
strerror_r: Fix comments.
* lib/strerror_r.c (strerror_r): Fix comment about Cygwin and sys_nerr.
Diffstat (limited to 'lib/strerror_r.c')
-rw-r--r-- | lib/strerror_r.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/strerror_r.c b/lib/strerror_r.c index 65d230ac5b..f0b59c717c 100644 --- a/lib/strerror_r.c +++ b/lib/strerror_r.c @@ -77,7 +77,7 @@ extern char *sys_errlist[]; 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 @@ -504,7 +504,7 @@ strerror_r (int errnum, char *buf, size_t buflen) 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) |