com php-src: Remove bogus vcwd_open: ext/standard/proc_ open.c
| From: | Nikita Popov | Date: | Fri, 30 Aug 2019 14:09:55 +0000 |
| Subject: | com php-src: Remove bogus vcwd_open: ext/standard/proc_ open.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-108163@lists.php.net to get a copy of this message | ||
Commit: 2f67f32eaa444cbc02e02e8ce797f8cc45563e2a
Author: Nikita Popov <nikita.ppv@gmail.com> Fri, 30 Aug 2019 15:25:23 +0200
Parents: 27da21d4297c2d11e1ad292626d0501dec640bd8
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2f67f32eaa444cbc02e02e8ce797f8cc45563e2a
Log:
Remove bogus vcwd_open
This is a left-over from the Linux version...
Changed paths:
M ext/standard/proc_open.c
Diff:
diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c
index 256f6a8..d99d008 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;