cvs: php-src /main php.h
| From: | Ilia Alshanetsky | Date: | Tue, 20 Dec 2005 14:27:04 +0000 |
| Subject: | cvs: php-src /main php.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-36075@lists.php.net to get a copy of this message | ||
iliaa Tue Dec 20 14:27:04 2005 EDT
Modified files:
/php-src/main php.h
Log:
MFB51: Fixed bug #31347 (is_dir and is_file (incorrectly) return true for any
string greater then 255 characters).
http://cvs.php.net/viewcvs.cgi/php-src/main/php.h?r1=1.224&r2=1.225&diff_format=u
Index: php-src/main/php.h
diff -u php-src/main/php.h:1.224 php-src/main/php.h:1.225
--- php-src/main/php.h:1.224 Tue Dec 6 00:44:21 2005
+++ php-src/main/php.h Tue Dec 20 14:27:04 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php.h,v 1.224 2005/12/06 00:44:21 sniper Exp $ */
+/* $Id: php.h,v 1.225 2005/12/20 14:27:04 iliaa Exp $ */
#ifndef PHP_H
#define PHP_H
@@ -248,6 +248,8 @@
#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