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 /TSRM/tsrm_config_common.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 'TSRM/tsrm_config_common.h')
-rw-r--r-- | TSRM/tsrm_config_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/TSRM/tsrm_config_common.h b/TSRM/tsrm_config_common.h index bdd171e619..62a7c8efc0 100644 --- a/TSRM/tsrm_config_common.h +++ b/TSRM/tsrm_config_common.h @@ -42,6 +42,8 @@ char *alloca (); #ifndef MAXPATHLEN # ifdef PATH_MAX # define MAXPATHLEN PATH_MAX +# elif defined(MAX_PATH) +# define MAXPATHLEN MAX_PATH # else # define MAXPATHLEN 256 # endif |