diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-12-20 14:24:24 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-12-20 14:24:24 +0000 |
commit | cd82349b9e51c6986ede11f482f727e12717a6f5 (patch) | |
tree | 765e9c7970a3adfd16db48331fe8334b9a9cc8d8 /main/php.h | |
parent | 5df2f5df42de97075b388521e19c005f5f0d02f0 (diff) | |
download | php-git-cd82349b9e51c6986ede11f482f727e12717a6f5.tar.gz |
Fixed bug #31347 (is_dir and is_file (incorrectly) return true for any
string greater then 255 characters).
Diffstat (limited to 'main/php.h')
-rw-r--r-- | main/php.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h index ba7c2ca2a8..68638f1858 100644 --- a/main/php.h +++ b/main/php.h @@ -246,6 +246,8 @@ END_EXTERN_C() #ifndef MAXPATHLEN # ifdef PATH_MAX # define MAXPATHLEN PATH_MAX +# elif defined(MAX_PATH) +# define MAXPATHLEN MAX_PATH # else # define MAXPATHLEN 256 /* Should be safe for any weird systems that do not define it */ # endif |