Remove bogus vcwd_open

This is a left-over from the Linux version...
This commit is contained in:
Nikita Popov 2019-08-30 15:25:23 +02:00
parent 27da21d429
commit 2f67f32eaa

View File

@ -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;