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;
        }
 



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

Reply via email to