Skip to content

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