Mercurial > hg > octave-kai > gnulib-hg
changeset 17224:9a6fffa64c3c
* doc/gnulib-readme.texi (Portability guidelines): ctype.h, not ctime.h.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Thu, 27 Dec 2012 01:20:14 -0800 |
parents | 4e33322b32f8 |
children | 103c4c70c3d6 |
files | ChangeLog doc/gnulib-readme.texi |
diffstat | 2 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2012-12-27 Paul Eggert <eggert@cs.ucla.edu> + * doc/gnulib-readme.texi (Portability guidelines): + ctype.h, not ctime.h. + Correct name of POSIX.1-2001. * doc/posix-functions/fgetc.texi (fgetc): * doc/posix-functions/fgets.texi (fgets): @@ -24147,7 +24150,7 @@ assume <ctype.h>, ..., <time.h> exist For years gnulib has been assuming the existence of the headers - <ctime.h>, <errno.h>, <fcntl.h>, <locale.h>, <signal.h>, + <ctype.h>, <errno.h>, <fcntl.h>, <locale.h>, <signal.h>, <stdio.h>, <stdlib.h>, <string.h>, and <time.h>. Omit checks for them, since they don't appear to be needed. * README (Portability guidelines): Document this. @@ -80131,7 +80134,7 @@ * lib/wcwidth.h: Declare nothing if !HAVE_WCHAR_T. Provide a fallback declaration for wcwidth. - * lib/mbswidth.c: Restore the includes of <wchar.h> and <wctypes.h>. + * lib/mbswidth.c: Restore the includes of <wchar.h> and <wctype.h>. 2006-06-28 Bruno Haible <bruno@clisp.org>
--- a/doc/gnulib-readme.texi +++ b/doc/gnulib-readme.texi @@ -317,7 +317,7 @@ Because we assume a freestanding C89 compiler, Gnulib code can include @code{<float.h>}, @code{<limits.h>}, @code{<stdarg.h>}, and @code{<stddef.h>} unconditionally. It can also assume the existence -of @code{<ctime.h>}, @code{<errno.h>}, @code{<fcntl.h>}, +of @code{<ctype.h>}, @code{<errno.h>}, @code{<fcntl.h>}, @code{<locale.h>}, @code{<signal.h>}, @code{<stdio.h>}, @code{<stdlib.h>}, @code{<string.h>}, and @code{<time.h>}. Similarly, many modules include @code{<sys/types.h>} even though it's not even in