Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2008-03-27 Thread Benjamin Schulz
m_supports_lock(stream) || php_stream_lock(stream, LOCK_EX))) { php_stream_close(stream); RETURN_FALSE; } On 27-Mar-08, at 3:15 AM, Benjamin Schulz wrote: regards, Benjamin On 27.03.2008, at 00:06, Ilia Alshanetsky wrote: iliaa Wed Mar 26 23:06:48 20

Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard file.c

2008-03-27 Thread Benjamin Schulz
Can't you check with php_stream_supports_lock here wether the stream- wrapper supports locking? regards, Benjamin On 27.03.2008, at 00:06, Ilia Alshanetsky wrote: iliaa Wed Mar 26 23:06:48 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standardfile.