diff options
author | Dominic Hargreaves <dom@earth.li> | 2012-02-03 19:40:30 +0000 |
---|---|---|
committer | Dominic Hargreaves <dom@earth.li> | 2012-02-18 11:13:37 +0000 |
commit | a9bada39885b0882dfb85a8130b09deec04a6d4c (patch) | |
tree | dd5413ba3d2cf775e0e8c1279d80980c9c832457 | |
parent | d552bce808ea3cf98c9a52a7a71427bb62e4c040 (diff) | |
download | perl-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.c | 2 |
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 |