diff options
author | Dominic Hargreaves <dom@earth.li> | 2012-01-28 14:00:39 +0000 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-01-30 14:52:43 -0800 |
commit | ffa23acf6bf9670bd1d5fdc9a958c918b6cf3d06 (patch) | |
tree | 3d816474694307ab3eb9fa9a94c077456a79caa1 | |
parent | 307764ab65e391edc68609861cbfa32efdfee95b (diff) | |
download | perl-ffa23acf6bf9670bd1d5fdc9a958c918b6cf3d06.tar.gz |
Increase the fallback value of MAXPATHLEN
On systems without MAXPATHLEN or PATH_MAX defined (GNU/Hurd is an example
of such a system), set MAXPATHLEN to 4096 rather than 1024; this increase
creates parity with Linux.
-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 5019af1c31..1e9ead34bc 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 1024 +# define MAXPATHLEN 4096 # endif #endif |