cvs: ZendEngine2(PHP_5_0) / zend_execute_API.c
| From: | Dmitry Stogov | Date: | Tue, 02 Aug 2005 17:01:35 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_0) / zend_execute_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3955@lists.php.net to get a copy of this message | ||
dmitry Tue Aug 2 13:01:35 2005 EDT
Modified files: (Branch: PHP_5_0)
/ZendEngine2 zend_execute_API.c
Log:
Fixed bug #33942 (the patch to #33156 crash cygwin except cli)
http://cvs.php.net/diff.php/ZendEngine2/zend_execute_API.c?r1=1.287.2.23&r2=1.287.2.24&ty=u
Index: ZendEngine2/zend_execute_API.c
diff -u ZendEngine2/zend_execute_API.c:1.287.2.23 ZendEngine2/zend_execute_API.c:1.287.2.24
--- ZendEngine2/zend_execute_API.c:1.287.2.23 Tue Jul 12 03:18:57 2005
+++ ZendEngine2/zend_execute_API.c Tue Aug 2 13:01:33 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_execute_API.c,v 1.287.2.23 2005/07/12 07:18:57 dmitry Exp $ */
+/* $Id: zend_execute_API.c,v 1.287.2.24 2005/08/02 17:01:33 dmitry Exp $ */
#include <stdio.h>
#include <signal.h>
@@ -1309,7 +1309,11 @@
no_timeout.it_value.tv_sec = no_timeout.it_value.tv_usec = no_timeout.it_interval.tv_sec =
no_timeout.it_interval.tv_usec = 0;
+#ifdef __CYGWIN__
+ setitimer(ITIMER_REAL, &no_timeout, NULL);
+#else
setitimer(ITIMER_PROF, &no_timeout, NULL);
+#endif
}
# endif
#endif