cvs: ZendEngine2 / zend_execute_API.c
| From: | Dmitry Stogov | Date: | Tue, 02 Aug 2005 17:01:18 +0000 |
| Subject: | cvs: ZendEngine2 / zend_execute_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3954@lists.php.net to get a copy of this message | ||
dmitry Tue Aug 2 13:01:18 2005 EDT
Modified files:
/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.329&r2=1.330&ty=u
Index: ZendEngine2/zend_execute_API.c
diff -u ZendEngine2/zend_execute_API.c:1.329 ZendEngine2/zend_execute_API.c:1.330
--- ZendEngine2/zend_execute_API.c:1.329 Tue Jul 26 14:33:15 2005
+++ ZendEngine2/zend_execute_API.c Tue Aug 2 13:01:17 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_execute_API.c,v 1.329 2005/07/26 18:33:15 sniper Exp $ */
+/* $Id: zend_execute_API.c,v 1.330 2005/08/02 17:01:17 dmitry Exp $ */
#include <stdio.h>
#include <signal.h>
@@ -1313,7 +1313,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