From 64845f388932ed0a51de0dba124bf9a2aa813e59 Mon Sep 17 00:00:00 2001 From: Antony Dovgal <tony2001@php.net> Date: Fri, 25 Dec 2009 20:34:59 +0000 Subject: [PATCH] remove automatic file unlocking on shutdown and/or stream close (make it win32-specific for 5_2, as discussed with Ilia) --- main/streams/plain_wrapper.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c index 5a4f1b6e16..5da4d80d43 100644 --- a/main/streams/plain_wrapper.c +++ b/main/streams/plain_wrapper.c @@ -388,9 +388,6 @@ static int php_stdiop_close(php_stream *stream, int close_handle TSRMLS_DC) #endif if (close_handle) { - if (data->lock_flag != LOCK_UN) { - php_stream_lock(stream, LOCK_UN); - } if (data->file) { if (data->is_process_pipe) { errno = 0; -- 2.40.0