mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 04:19:21 +08:00
* include/limits.h (NAME_MAX): New define.
(PATH_MAX): POSIX allows PATH_MAX to include trailing NUL.
This commit is contained in:
parent
db27ea4125
commit
232fee428a
@ -1,3 +1,8 @@
|
||||
2005-03-29 Eric Blake <ebb9@byu.net>
|
||||
|
||||
* include/limits.h (NAME_MAX): New define.
|
||||
(PATH_MAX): POSIX allows PATH_MAX to include trailing NUL.
|
||||
|
||||
2005-03-29 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* path.cc (is_floppy): Make externally available.
|
||||
|
@ -125,7 +125,10 @@ details. */
|
||||
#define SSIZE_MAX (__LONG_MAX__)
|
||||
|
||||
/* Maximum length of a path */
|
||||
#define PATH_MAX (260 - 1 /*NUL*/)
|
||||
#define PATH_MAX 260
|
||||
|
||||
/* Maximum length of a path component. */
|
||||
#define NAME_MAX 255
|
||||
|
||||
/* Max num groups for a user, value taken from NT documentation */
|
||||
/* Must match <sys/param.h> NGROUPS */
|
||||
|
Loading…
x
Reference in New Issue
Block a user