cvs: php-src(PHP_5_3) /ext/standard file.c

From: Date: Sun, 30 Mar 2008 15:05:49 +0000
Subject: cvs: php-src(PHP_5_3) /ext/standard file.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-49431@lists.php.net to get a copy of this message
iliaa Sun Mar 30 15:05:49 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard file.c Log: Added a warning message http://cvs.php.net/viewvc.cgi/php-src/ext/standard/file.c?r1=1.409.2.6.2.28.2.10&r2=1.409.2.6.2.28.2.11&diff_format=u Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.409.2.6.2.28.2.10 php-src/ext/standard/file.c:1.409.2.6.2.28.2.11 --- php-src/ext/standard/file.c:1.409.2.6.2.28.2.10 Wed Mar 26 23:06:47 2008 +++ php-src/ext/standard/file.c Sun Mar 30 15:05:48 2008 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.409.2.6.2.28.2.10 2008/03/26 23:06:47 iliaa Exp $ */ +/* $Id: file.c,v 1.409.2.6.2.28.2.11 2008/03/30 15:05:48 iliaa Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -614,6 +614,7 @@ if (flags & LOCK_EX && (!php_stream_supports_lock(stream) || php_stream_lock(stream, LOCK_EX))) { php_stream_close(stream); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Exclusive locks are not supported for this stream"); RETURN_FALSE; }

« previous php.cvs (#49431) next »