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.netIndex: 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-2024 The PHP Group All rights reserved. |
Last updated: Wed Dec 25 18:01:28 2024 UTC |