Skip to content

Fix #78386: fstat mode has unexpected value on PHP 7.4 #4498

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

Closed
wants to merge 2 commits into from

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Aug 9, 2019

We must not assume that any file which is not a directory is a regular
file. Therefore we employ GetFileType() in this case to properly
distinguish between character special, FIFO special and regular files.

We must not assume that any file which is not a directory is a regular
file.  Therefore we employ `GetFileType()` in this case to properly
distinguish between character special, FIFO special and regular files.
@cmb69 cmb69 added the Bug label Aug 9, 2019
@cmb69 cmb69 changed the title Fix #78386: fstat mode has unexpected value on PHP 7.4 [WiP] Fix #78386: fstat mode has unexpected value on PHP 7.4 Aug 9, 2019
@cmb69
Copy link
Member Author

cmb69 commented Aug 9, 2019

While doing further edge-case testing, I've stumbled upon bug #78220, so finishing this PR may take a while.

@cmb69 cmb69 changed the title [WiP] Fix #78386: fstat mode has unexpected value on PHP 7.4 Fix #78386: fstat mode has unexpected value on PHP 7.4 Aug 20, 2019
@cmb69
Copy link
Member Author

cmb69 commented Aug 20, 2019

Further testing showed no issues, so applied as c03114e.

@cmb69 cmb69 closed this Aug 20, 2019
@cmb69 cmb69 deleted the fix-78386 branch August 20, 2019 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants