felipe          Thu Jan  8 18:46:00 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/main/streams       streams.c 
  Log:
  MFH:
  - Fixed bug #47037 (No error when using fopen with emty string)
  Patch by Cristian Rodriguez R.
  
  
http://cvs.php.net/viewvc.cgi/php-src/main/streams/streams.c?r1=1.82.2.6.2.18.2.22&r2=1.82.2.6.2.18.2.23&diff_format=u
Index: php-src/main/streams/streams.c
diff -u php-src/main/streams/streams.c:1.82.2.6.2.18.2.22 
php-src/main/streams/streams.c:1.82.2.6.2.18.2.23
--- php-src/main/streams/streams.c:1.82.2.6.2.18.2.22   Wed Dec 31 11:15:48 2008
+++ php-src/main/streams/streams.c      Thu Jan  8 18:46:00 2009
@@ -19,7 +19,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: streams.c,v 1.82.2.6.2.18.2.22 2008/12/31 11:15:48 sebastian Exp $ */
+/* $Id: streams.c,v 1.82.2.6.2.18.2.23 2009/01/08 18:46:00 felipe Exp $ */
 
 #define _GNU_SOURCE
 #include "php.h"
@@ -1783,6 +1783,7 @@
        }
 
        if (!path || !*path) {
+               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Filename cannot be 
empty");
                return NULL;
        }
 



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

Reply via email to