diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-10-18 14:42:43 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-10-18 14:42:43 +0400 |
commit | 5b6973725044a93a273f3735c46e08cb8a42918e (patch) | |
tree | 5944c0b15aaba9c9ef6cf7687498be3efaf480b3 /winsup/cygwin/include | |
parent | ffa1a46abde3befe50c3dcd156e41613f2c39f6b (diff) |
* include/sys/param.h (MAXPATHLEN): Define as PATH_MAX.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/sys/param.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/winsup/cygwin/include/sys/param.h b/winsup/cygwin/include/sys/param.h index 349313f20..00a9b5ef8 100644 --- a/winsup/cygwin/include/sys/param.h +++ b/winsup/cygwin/include/sys/param.h @@ -1,6 +1,6 @@ /* sys/param.h - Copyright 2001, 2003 Red Hat, Inc. + Copyright 2001, 2003, 2007 Red Hat, Inc. This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for @@ -29,9 +29,8 @@ /* FIXME: is this the appropriate value? */ #define MAXHOSTNAMELEN 64 -/* This is defined to be the same as MAX_PATH which is used internally. - The Posix version is PATH_MAX. */ -#define MAXPATHLEN (260 - 1 /*NUL*/) +/* The Posix version is PATH_MAX. MAXPATHLEN is the BSD variant. */ +#define MAXPATHLEN PATH_MAX /* This is the number of bytes per block given in the st_blocks stat member. It should be in sync with S_BLKSIZE in sys/stat.h. S_BLKSIZE is the |