Mercurial > gnulib
diff NEWS @ 15496:451ec8bd8a1c
pathmax: Leave PATH_MAX undefined on the Hurd, and a constant otherwise.
* lib/pathmax.h (PATH_MAX): Leave it undefined on GNU/Hurd.
* lib/chdir-long.h: Include pathmax.h.
* lib/clean-temp.c (PATH_MAX): Remove code that is done by pathmax.h.
* lib/getcwd.c: Include pathmax.h instead of <limits.h>.
(PATH_MAX): Remove code that is done by pathmax.h.
* lib/canonicalize.c (PATH_MAX): Provide a fallback value.
* lib/tmpfile.c: Add a comment.
* m4/pathmax.m4 (gl_PATHMAX): Don't test for pathconf.
* modules/chdir-long (Depends-on): Add pathmax.
* modules/getcwd (Depends-on): Add pathmax.
* tests/test-getcwd.c (test_abort_bug): Avoid syntax error when PATH_MAX
is not defined.
* doc/posix-headers/limits.texi: Mention the pathmax module.
* NEWS: Mention the change.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 05 Aug 2011 03:01:01 +0200 |
parents | 87442e903a7a |
children | de2ecfd7fc4a |
line wrap: on
line diff
--- a/NEWS Wed Aug 03 01:04:40 2011 +0200 +++ b/NEWS Fri Aug 05 03:01:01 2011 +0200 @@ -12,6 +12,11 @@ Date Modules Changes +2011-08-04 pathmax The header file "pathmax.h" no longer defines + PATH_MAX on GNU/Hurd. Please use one of the methods + listed in pathmax.h to ensure your package is + portable to GNU/Hurd. + 2011-07-24 close This module no longer pulls in the 'fclose' module. If your code creates a socket descriptor using socket() or accept(), then a FILE stream referring