Repository navigation
add proper locking to file_put_contents when using streams - #16727
Conversation
There was a problem hiding this comment.
Change back to LOCK_SHARED until the post hooks have fired ?
There was a problem hiding this comment.
Not sure if we want to have a lock around post hooks, there might be valid use cases where a post hooks writes to the file
|
Doesn't sound related... |
|
The post hook might want to do file-related things like creating/updating versions. |
f9dfdd3 to
bcf13af
Compare
|
A new inspection was created. |
|
Refer to this link for build results (access rights to CI server needed): |
|
@DeepDiver1975 @PVince81 can this be merged? We can discuss whether or not to lock around post hooks seperatly |
|
Raised pre-hook discussion here: #16829 👍 for this PR |
|
please review @DeepDiver1975 @MorrisJobke |
|
👍 |
add proper locking to file_put_contents when using streams

For #16664
cc @DeepDiver1975 @PVince81