mirror of
https://github.com/php/php-src.git
synced 2024-12-30 04:06:30 +08:00
Remove bogus vcwd_open
This is a left-over from the Linux version...
This commit is contained in:
parent
27da21d429
commit
2f67f32eaa
@ -828,7 +828,6 @@ PHP_FUNCTION(proc_open)
|
||||
descriptors[ndesc].childend = CreateFileA(
|
||||
"nul", GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE,
|
||||
NULL, OPEN_EXISTING, 0, NULL);
|
||||
descriptors[ndesc].childend = VCWD_OPEN("nul", O_RDWR);
|
||||
if (descriptors[ndesc].childend == NULL) {
|
||||
php_error_docref(NULL, E_WARNING, "Failed to open nul");
|
||||
goto exit_fail;
|
||||
|
Loading…
Reference in New Issue
Block a user