diff options
-rw-r--r-- | ext/standard/proc_open.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c index 256f6a892b..d99d008771 100644 --- a/ext/standard/proc_open.c +++ b/ext/standard/proc_open.c @@ -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; |