summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-08-30 15:25:23 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-08-30 16:09:55 +0200
commit2f67f32eaa444cbc02e02e8ce797f8cc45563e2a (patch)
tree80c3a0779a7ba8ebab92b8f53c489b3d2a51a4ac
parent27da21d4297c2d11e1ad292626d0501dec640bd8 (diff)
downloadphp-git-2f67f32eaa444cbc02e02e8ce797f8cc45563e2a.tar.gz
Remove bogus vcwd_open
This is a left-over from the Linux version...
-rw-r--r--ext/standard/proc_open.c1
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;