iliaa           Tue Dec 20 14:24:24 2005 EDT

  Modified files:              (Branch: PHP_5_1)
    /php-src/main       php.h 
    /php-src    NEWS 
  Log:
  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.221&r2=1.221.2.1&diff_format=u
Index: php-src/main/php.h
diff -u php-src/main/php.h:1.221 php-src/main/php.h:1.221.2.1
--- php-src/main/php.h:1.221    Sun Aug  7 15:13:50 2005
+++ php-src/main/php.h  Tue Dec 20 14:24:24 2005
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php.h,v 1.221 2005/08/07 15:13:50 hholzgra Exp $ */
+/* $Id: php.h,v 1.221.2.1 2005/12/20 14:24:24 iliaa Exp $ */
 
 #ifndef PHP_H
 #define PHP_H
@@ -246,6 +246,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
http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.2027.2.305&r2=1.2027.2.306&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.305 php-src/NEWS:1.2027.2.306
--- php-src/NEWS:1.2027.2.305   Tue Dec 20 09:47:57 2005
+++ php-src/NEWS        Tue Dec 20 14:24:24 2005
@@ -95,6 +95,8 @@
 - Fixed bug #34429 (Output buffering cannot be turned off with FastCGI).
   (Dmitry, Ilya)
 - Fixed bug #34359 (Possible crash inside fopen http wrapper). (Ilia,Sara,Nuno)
+- Fixed bug #31347 (is_dir and is_file (incorrectly) return true for any 
string 
+  greater then 255 characters). (Nuno,Ilia)
 - Fixed bug #30760 (Remove MessageBox on win32 for E_CORE errors if 
   display_startup_error is off). (Ilia)
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to