derick Sat Aug 28 08:20:42 2004 EDT
Modified files: (Branch: PHP_5_0)
/php-src NEWS
/php-src/ext/pcntl pcntl.c php_pcntl.h
Log:
- MFH: Fixed bug #29873 (No defines around pcntl_*priority definitions).
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1760.2.63&r2=1.1760.2.64&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1760.2.63 php-src/NEWS:1.1760.2.64
--- php-src/NEWS:1.1760.2.63 Fri Aug 27 03:06:07 2004
+++ php-src/NEWS Sat Aug 28 08:20:41 2004
@@ -9,6 +9,7 @@
(Paul Hudson, Derick)
- Fixed bug with raw_post_data not getting set (Brian)
- Fixed a file-descriptor leak with phpinfo() and other 'special' URLs (Zeev)
+- Fixed bug #29873 (No defines around pcntl_*priority definitions). (Derick)
- Fixed bug #29844 (SOAP doesn't return the result of a valid SOAP request).
(Dmitry)
- Fixed bug #29842 (soapclient return null value). (Dmitry)
http://cvs.php.net/diff.php/php-src/ext/pcntl/pcntl.c?r1=1.44&r2=1.44.2.1&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.44.2.1
--- 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:41 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pcntl.c,v 1.44 2004/06/30 01:12:04 iliaa Exp $ */
+/* $Id: pcntl.c,v 1.44.2.1 2004/08/28 12:20:41 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.17.2.1&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.17.2.1
--- 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:41 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.17.2.1 2004/08/28 12:20:41 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;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php