aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-11-15 17:04:10 +0000
committerChristopher Faylor <me@cgf.cx>2003-11-15 17:04:10 +0000
commit490d129f4ad49dd6682bc424a067a96cb4473a21 (patch)
tree03d78223aed2dab5aa1910cfec6aba3e17b999e6
parent5cdbbdb3856db9a933be4eb84c582d582f3c1672 (diff)
downloadnewlib-490d129f4ad49dd6682bc424a067a96cb4473a21.zip
newlib-490d129f4ad49dd6682bc424a067a96cb4473a21.tar.gz
newlib-490d129f4ad49dd6682bc424a067a96cb4473a21.tar.bz2
* include/limits.h: Revert unsanctioned changes below.
* include/cygwin/config.h: Ditto. * include/sys/param.h: Ditto.
-rw-r--r--winsup/cygwin/ChangeLog8
-rw-r--r--winsup/cygwin/include/cygwin/config.h2
-rw-r--r--winsup/cygwin/include/limits.h2
-rw-r--r--winsup/cygwin/include/sys/param.h2
4 files changed, 10 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 8da7575..f70628a 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,4 +1,10 @@
-2003-11-11 Robert Collins <rbtcollins@hotmail.com>
+2003-11-15 Christopher Faylor <cgf@redhat.com>
+
+ * include/limits.h: Revert unsanctioned changes below.
+ * include/cygwin/config.h: Ditto.
+ * include/sys/param.h: Ditto.
+
+2003-11-14 Robert Collins <rbtcollins@hotmail.com>
Ron Parker <rdparker@butlermfg.com>
* bsdlib.cc: Update throughout to use CYG_MAX_PATH rather than MAX_PATH.
diff --git a/winsup/cygwin/include/cygwin/config.h b/winsup/cygwin/include/cygwin/config.h
index 2613c44..e3e09f0 100644
--- a/winsup/cygwin/include/cygwin/config.h
+++ b/winsup/cygwin/include/cygwin/config.h
@@ -20,7 +20,7 @@ extern "C" {
#define _CYGWIN_CONFIG_H
#define __DYNAMIC_REENT__
-#define __FILENAME_MAX__ (4096 - 1 /* NUL */)
+#define __FILENAME_MAX__ (260 - 1 /* NUL */)
#define _READ_WRITE_RETURN_TYPE _ssize_t
#define __LARGE64_FILES 1
#define __CYGWIN_USE_BIG_TYPES__ 1
diff --git a/winsup/cygwin/include/limits.h b/winsup/cygwin/include/limits.h
index cefbbac..9fa3cf4 100644
--- a/winsup/cygwin/include/limits.h
+++ b/winsup/cygwin/include/limits.h
@@ -125,7 +125,7 @@ details. */
#define SSIZE_MAX (__LONG_MAX__)
/* Maximum length of a path */
-#define PATH_MAX (4096 - 1 /*NUL*/)
+#define PATH_MAX (260 - 1 /*NUL*/)
/* Max num groups for a user, value taken from NT documentation */
/* Must match <sys/param.h> NGROUPS */
diff --git a/winsup/cygwin/include/sys/param.h b/winsup/cygwin/include/sys/param.h
index e067bbf..811b5ee 100644
--- a/winsup/cygwin/include/sys/param.h
+++ b/winsup/cygwin/include/sys/param.h
@@ -31,7 +31,7 @@
/* This is defined to be the same as MAX_PATH which is used internally.
The Posix version is PATH_MAX. */
-#define MAXPATHLEN (4096 - 1 /*NUL*/)
+#define MAXPATHLEN (260 - 1 /*NUL*/)
/* 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