remove automatic file unlocking on shutdown and/or stream close

(make it win32-specific for 5_2, as discussed with Ilia)
This commit is contained in:
Antony Dovgal 2009-12-25 20:34:59 +00:00
parent 9326c7e3a2
commit 42d05a5c02
2 changed files with 3 additions and 3 deletions

View file

@ -387,9 +387,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;