iliaa           Mon Jul 23 23:03:09 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    NEWS 
    /php-src/ext/standard       filestat.c 
  Log:
  
  Fixed bug #42072 (No warning message for clearstatcache() with arguments).
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.845&r2=1.2027.2.547.2.846&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.845 php-src/NEWS:1.2027.2.547.2.846
--- php-src/NEWS:1.2027.2.547.2.845     Mon Jul 23 16:18:10 2007
+++ php-src/NEWS        Mon Jul 23 23:03:09 2007
@@ -59,6 +59,8 @@
 - Fixed PECL bug #11216 (crash in ZipArchive::addEmptyDir when a directory 
   already exists). (Pierre)
 
+- Fixed bug #42072 (No warning message for clearstatcache() with arguments).
+  (Ilia)
 - Fixed bug #42071 (ini scanner allows using NULL as option name). (Jani)
 - Fixed bug #42019 (configure option --with-adabas=DIR does not work). (Jani)
 - Fixed bug #42015 (ldap_rename(): server error "DSA is unwilling to perform").
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?r1=1.136.2.8.2.12&r2=1.136.2.8.2.13&diff_format=u
Index: php-src/ext/standard/filestat.c
diff -u php-src/ext/standard/filestat.c:1.136.2.8.2.12 
php-src/ext/standard/filestat.c:1.136.2.8.2.13
--- php-src/ext/standard/filestat.c:1.136.2.8.2.12      Fri Apr  6 22:10:56 2007
+++ php-src/ext/standard/filestat.c     Mon Jul 23 23:03:09 2007
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: filestat.c,v 1.136.2.8.2.12 2007/04/06 22:10:56 tony2001 Exp $ */
+/* $Id: filestat.c,v 1.136.2.8.2.13 2007/07/23 23:03:09 iliaa Exp $ */
 
 #include "php.h"
 #include "safe_mode.h"
@@ -702,6 +702,10 @@
    Clear file stat cache */
 PHP_FUNCTION(clearstatcache)
 {
+       if (ZEND_NUM_ARGS()) {
+               WRONG_PARAM_COUNT;
+       }
+
        if (BG(CurrentStatFile)) {
                efree(BG(CurrentStatFile));
                BG(CurrentStatFile) = NULL;

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

Reply via email to