Re: [PHP-CVS] cvs: php-src(PHP_5_2) / NEWS /ext/pcntl pcntl.c /ext/pcntl/tests 001.phpt bug47566.phpt

2009-05-26 Thread Arnaud Le Blanc
Hi, On Tue, 2009-05-26 at 19:09 +0400, Antony Dovgal wrote: > On 26.05.2009 18:02, Arnaud Le Blanc wrote: > > - /* WEXITSTATUS only returns 8 bits so we *MUST* cast this to signed char > > - if you want to have valid negative exit codes */ > > - RETURN_LONG((signed char) WEXITSTATUS(statu

Re: [PHP-CVS] cvs: php-src(PHP_5_2) / NEWS /ext/pcntl pcntl.c /ext/pcntl/tests 001.phpt bug47566.phpt

2009-05-26 Thread Antony Dovgal
On 26.05.2009 18:02, Arnaud Le Blanc wrote: > - /* WEXITSTATUS only returns 8 bits so we *MUST* cast this to signed char > -if you want to have valid negative exit codes */ > - RETURN_LONG((signed char) WEXITSTATUS(status_word)); > + RETURN_LONG(WEXITSTATUS(status_word)); Okay,