Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise warning when put_contents on non-regular file with exclusive lock. #4238

Closed
wants to merge 1 commit into from

Conversation

kevinxucs
Copy link
Contributor

In file_put_contents(), raise warning if attempting to add an exclusive lock on non-regular file.

Passing vfsstream's filePutContentsLockShouldReportError test case.

@facebook-github-bot
Copy link
Contributor

This pull request has been imported into Phabricator, and discussion and review of the diff will take place at https://reviews.facebook.net/D28827

In HHVM_FUNCTION(file_put_contents), raise warning if attempting to add an
exclusive lock on non-regular file, in order to match PHP5's behavior.

Passing vfsstream's filePutContentsLockShouldReportError test case.
@kevinxucs kevinxucs force-pushed the vfsstream-lock-error branch from 1dbfd2a to 1db0f56 Compare November 18, 2014 13:53
@hhvm-bot hhvm-bot closed this in dcc8da3 Nov 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants