-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise warning when put_contents on non-regular file with exclusive lock.
Summary: In file_put_contents(), raise warning if attempting to add an exclusive lock on non-regular file. Passing vfsstream's filePutContentsLockShouldReportError test case. Closes #4238 Reviewed By: @paulbiss Differential Revision: D1678644 Signature: t1:1678644:1416464069:78ae002251c6b6aa966520daef0d4b924f9e8b59
- Loading branch information
Showing
4 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
string(25) "testing file_put_contents" | ||
string(54) "testing file_put_contents with File:// url and LOCK_EX" |