diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-12-20 14:27:04 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-12-20 14:27:04 +0000 |
commit | ec58b74d7ff4909db0e050c8008d93c22402edd3 (patch) | |
tree | 52458833f2eb7a13f9cec8a489f8d230b73a7899 /main/php.h | |
parent | ad97cf20be082884ef41e43a4c147cd8a4295df5 (diff) | |
download | php-git-ec58b74d7ff4909db0e050c8008d93c22402edd3.tar.gz |
MFB51: 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 d3e13a181e..1639c52db4 100644 --- a/main/php.h +++ b/main/php.h @@ -248,6 +248,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 |