diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-05-30 07:05:07 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-05-30 07:05:07 +0000 |
commit | b224f94761aebcd623cecb3b1050b89c945d7808 (patch) | |
tree | 5b6e82451a86c5789e06809aaa22e66990157b91 /lib | |
parent | 47db304b3c7e527816c392f200c342a373e79bb8 (diff) | |
download | coreutils-b224f94761aebcd623cecb3b1050b89c945d7808.tar.xz |
(_POSIX_PATH_MAX) [!defined _POSIX_PATH_MAX]:
Define to 256, not 255, as per modern POSIX.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pathmax.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pathmax.h b/lib/pathmax.h index 48ba92a70..f6a973813 100644 --- a/lib/pathmax.h +++ b/lib/pathmax.h @@ -1,5 +1,5 @@ /* Define PATH_MAX somehow. Requires sys/types.h. - Copyright (C) 1992, 1999, 2001, 2003 Free Software Foundation, Inc. + Copyright (C) 1992, 1999, 2001, 2003, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ # endif # ifndef _POSIX_PATH_MAX -# define _POSIX_PATH_MAX 255 +# define _POSIX_PATH_MAX 256 # endif # if !defined PATH_MAX && defined _PC_PATH_MAX |