com php-src: Merge branch 'PHP-7.2' into PHP-7.3: sapi/cgi/cgi _main.c
| From: | Anatol Belski | Date: | Wed, 03 Oct 2018 12:35:38 +0000 |
| Subject: | com php-src: Merge branch 'PHP-7.2' into PHP-7.3: sapi/cgi/cgi _main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-103335@lists.php.net to get a copy of this message | ||
Commit: 8400f73f8dd7839910a6c823e795f7694a5cc6c1
Author: Anatol Belski <ab@php.net> Wed, 3 Oct 2018 14:35:38 +0200
Parents: 726a77cfdd17cf0cbe9901a65ad3baea5a9b6ef8 b8cfa09657aed6f616068d44aca5dc0b3295b8f6
Branches: PHP-7.3 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8400f73f8dd7839910a6c823e795f7694a5cc6c1
Log:
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Avoid code duplication and don't miss env restore
Changed paths:
MM sapi/cgi/cgi_main.c
Diff:
diff --cc sapi/cgi/cgi_main.c
index 9b06853,fa9fbd3..2174729
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@@ -2240,10 -2288,11 +2239,11 @@@ consult the installation file that cam
fprintf(stderr, "unable to spawn: [0x%08lx]: %s\n", err, err_text);
}
}
-
+
WaitForMultipleObjects(kids, kid_cgi_ps, FALSE, INFINITE);
}
-
+
+ parent_loop_end:
/* restore my env */
SetEnvironmentVariable("PHP_FCGI_CHILDREN", kid_buf);