From: Derick Rethans Date: Sat, 13 Jan 2001 21:52:09 +0000 (+0000) Subject: - There was one ret left, changed it to FG(pclose_ret), this fixes the X-Git-Tag: php-4.0.5RC1~597 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1104639d0a53faa9f3f240b91456cd52759a8a1e;p=php - There was one ret left, changed it to FG(pclose_ret), this fixes the build --- diff --git a/ext/standard/exec.c b/ext/standard/exec.c index 27c06793cb..5a494e664e 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -199,7 +199,7 @@ static int _Exec(int type, char *cmd, pval *array, pval *return_value) #if HAVE_SYS_WAIT_H if (WIFEXITED(FG(pclose_ret))) { - ret = WEXITSTATUS(FG(pclose_ret)); + FG(pclose_ret) = WEXITSTATUS(FG(pclose_ret)); } #endif