cvs: php-src /ext/pcntl pcntl.c php_pcntl.h

From: Date: Sat, 28 Aug 2004 12:20:07 +0000
Subject: cvs: php-src /ext/pcntl pcntl.c php_pcntl.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-28488@lists.php.net to get a copy of this message
derick Sat Aug 28 08:20:07 2004 EDT Modified files: /php-src/ext/pcntl pcntl.c php_pcntl.h Log: - Fixed bug #29873 (No defines around pcntl_*priority definitions). http://cvs.php.net/diff.php/php-src/ext/pcntl/pcntl.c?r1=1.44&r2=1.45&ty=u Index: php-src/ext/pcntl/pcntl.c diff -u php-src/ext/pcntl/pcntl.c:1.44 php-src/ext/pcntl/pcntl.c:1.45 --- php-src/ext/pcntl/pcntl.c:1.44 Tue Jun 29 21:12:04 2004 +++ php-src/ext/pcntl/pcntl.c Sat Aug 28 08:20:06 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pcntl.c,v 1.44 2004/06/30 01:12:04 iliaa Exp $ */ +/* $Id: pcntl.c,v 1.45 2004/08/28 12:20:06 derick Exp $ */ #define PCNTL_DEBUG 0 @@ -56,8 +56,12 @@ PHP_FE(pcntl_wstopsig, NULL) PHP_FE(pcntl_exec, NULL) PHP_FE(pcntl_alarm, NULL) +#ifdef HAVE_GETPRIORITY PHP_FE(pcntl_getpriority, NULL) +#endif +#ifdef HAVE_SETPRIORITY PHP_FE(pcntl_setpriority, NULL) +#endif {NULL, NULL, NULL} }; http://cvs.php.net/diff.php/php-src/ext/pcntl/php_pcntl.h?r1=1.17&r2=1.18&ty=u Index: php-src/ext/pcntl/php_pcntl.h diff -u php-src/ext/pcntl/php_pcntl.h:1.17 php-src/ext/pcntl/php_pcntl.h:1.18 --- php-src/ext/pcntl/php_pcntl.h:1.17 Thu Jan 8 12:32:37 2004 +++ php-src/ext/pcntl/php_pcntl.h Sat Aug 28 08:20:06 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_pcntl.h,v 1.17 2004/01/08 17:32:37 sniper Exp $ */ +/* $Id: php_pcntl.h,v 1.18 2004/08/28 12:20:06 derick Exp $ */ #ifndef PHP_PCNTL_H #define PHP_PCNTL_H @@ -51,8 +51,12 @@ PHP_FUNCTION(pcntl_wstopsig); PHP_FUNCTION(pcntl_signal); PHP_FUNCTION(pcntl_exec); +#ifdef HAVE_GETPRIORITY PHP_FUNCTION(pcntl_getpriority); +#endif +#ifdef HAVE_SETPRIORITY PHP_FUNCTION(pcntl_setpriority); +#endif ZEND_BEGIN_MODULE_GLOBALS(pcntl) HashTable php_signal_table;

« previous php.cvs (#28488) next »