mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
- I wrote a long msg but the commit didn't go through.
- So here is the short version: - a) Start moving to binary opens in Windows - b) Give checkuid_mode() a small face lift including the fopen-wrappers.c - The mode to this function should at least be a #define but that is for - another day. Anyway this whole stuff should be given more face lifts in - the future.
This commit is contained in:
parent
6614e8edb4
commit
f311ab1608
@ -223,7 +223,7 @@ static FILE *zend_fopen_wrapper(const char *filename, char **opened_path)
|
||||
if (opened_path) {
|
||||
*opened_path = strdup(filename);
|
||||
}
|
||||
return fopen(filename, "r");
|
||||
return fopen(filename, "rb");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user