|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch file_put_contents.patch for Scripting Engine problem Bug #53076Patch version 2010-10-15 15:14 UTC Return to Bug #53076 | Download this patchPatch Revisions: Developer: admin@saltwaterc.net
Index: file.c
===================================================================
--- file.c (revision 304437)
+++ file.c (working copy)
@@ -703,6 +703,9 @@
numbytes = -1;
break;
}
+ if (flags & LOCK_EX) {
+ php_stream_lock(stream, LOCK_UN);
+ }
php_stream_close(stream);
if (numbytes < 0) {
|
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 12:00:01 2025 UTC |