cvs: php-src /ext/standard php_fopen_wrapper.c

From: Date: Mon, 18 Dec 2006 14:55:23 +0000
Subject: cvs: php-src /ext/standard php_fopen_wrapper.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-42140@lists.php.net to get a copy of this message
tony2001 Mon Dec 18 14:55:23 2006 UTC Modified files: /php-src/ext/standard php_fopen_wrapper.c Log: fix #39850 (SplFileObject throws contradictory/wrong error messages when trying to open "php://wrong") http://cvs.php.net/viewvc.cgi/php-src/ext/standard/php_fopen_wrapper.c?r1=1.56&r2=1.57&diff_format=u Index: php-src/ext/standard/php_fopen_wrapper.c diff -u php-src/ext/standard/php_fopen_wrapper.c:1.56 php-src/ext/standard/php_fopen_wrapper.c:1.57 --- php-src/ext/standard/php_fopen_wrapper.c:1.56 Sun Nov 5 20:44:52 2006 +++ php-src/ext/standard/php_fopen_wrapper.c Mon Dec 18 14:55:23 2006 @@ -17,7 +17,7 @@ | Hartmut Holzgraefe <hholzgra@php.net> | +----------------------------------------------------------------------+ */ -/* $Id: php_fopen_wrapper.c,v 1.56 2006/11/05 20:44:52 rasmus Exp $ */ +/* $Id: php_fopen_wrapper.c,v 1.57 2006/12/18 14:55:23 tony2001 Exp $ */ #include <stdio.h> #include <stdlib.h> @@ -276,6 +276,7 @@ return stream; } else { /* invalid php://thingy */ + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid php:// URL specified"); return NULL; }

« previous php.cvs (#42140) next »