summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominic Hargreaves <dom@earth.li>2012-02-03 19:40:30 +0000
committerDominic Hargreaves <dom@earth.li>2012-02-18 11:13:37 +0000
commita9bada39885b0882dfb85a8130b09deec04a6d4c (patch)
treedd5413ba3d2cf775e0e8c1279d80980c9c832457
parentd552bce808ea3cf98c9a52a7a71427bb62e4c040 (diff)
downloadperl-a9bada39885b0882dfb85a8130b09deec04a6d4c.tar.gz
Revert "Increase the fallback value of MAXPATHLEN"
This reverts commit ffa23acf6bf9670bd1d5fdc9a958c918b6cf3d06. This change was made without realisation that the fallback value for MAXPATHLEN on POSIX systems comes (in perl.h) from _POSIX_MAX_PATH, so the fallback value here was not used.
-rw-r--r--ext/File-Glob/bsd_glob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/File-Glob/bsd_glob.c b/ext/File-Glob/bsd_glob.c
index 1e9ead34bc..5019af1c31 100644
--- a/ext/File-Glob/bsd_glob.c
+++ b/ext/File-Glob/bsd_glob.c
@@ -83,7 +83,7 @@ static char sscsid[]= "$OpenBSD: glob.c,v 1.8.10.1 2001/04/10 jason Exp $";
# ifdef PATH_MAX
# define MAXPATHLEN PATH_MAX
# else
-# define MAXPATHLEN 4096
+# define MAXPATHLEN 1024
# endif
#endif