]> granicus.if.org Git - php/commitdiff
Remove bogus vcwd_open
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 30 Aug 2019 13:25:23 +0000 (15:25 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 30 Aug 2019 14:09:55 +0000 (16:09 +0200)
This is a left-over from the Linux version...

ext/standard/proc_open.c

index 256f6a892b1d8a6ef13e687024a6acb87eee548f..d99d0087716952087b238f89034b50347c0adac5 100644 (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;