]> git.pld-linux.org Git - packages/php-pecl-event.git/commitdiff
- fix compile (taken from
authorAdam Gołębiowski <adamg@pld-linux.org>
Mon, 13 Dec 2004 14:45:35 +0000 (14:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  http://viewcvs.php.net/viewcvs.cgi/pecl/event/event.c.diff?r1=1.2&r2=1.3 )

Changed files:
    php-pecl-event-tsrm_fix.patch -> 1.1

php-pecl-event-tsrm_fix.patch [new file with mode: 0644]

diff --git a/php-pecl-event-tsrm_fix.patch b/php-pecl-event-tsrm_fix.patch
new file mode 100644 (file)
index 0000000..94ac408
--- /dev/null
@@ -0,0 +1,34 @@
+===================================================================
+RCS file: /repository/pecl/event/event.c,v
+retrieving revision 1.2
+retrieving revision 1.3
+diff -u -r1.2 -r1.3
+--- pecl/event/event.c 2004/12/13 04:59:14     1.2
++++ pecl/event/event.c 2004/12/13 13:43:58     1.3
+@@ -18,7 +18,7 @@
+   +----------------------------------------------------------------------+
+ */
+-/* $Id$ */
++/* $Id$ */
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+@@ -192,7 +192,7 @@
+               for (i = 0; i < n / sizeof(int); i++) {
+                       TAILQ_FOREACH(ev, &EVENT_G(signalqueue), ev_signal_next) {
+                               if (ev->ev_fd == sig[i]) {
+-                                      event_active(ev, EV_SIGNAL, 1);
++                                      event_active(ev, EV_SIGNAL, 1 TSRMLS_CC);
+                               }
+                       }
+               }
+@@ -278,7 +278,7 @@
+               fcntl(EVENT_G(signal_pair)[1], F_SETFL, O_NONBLOCK | fcntl(EVENT_G(signal_pair)[1], F_GETFL, 0));
+ # endif
+               /* add one end to the event system */
+-              event_set(&EVENT_G(sigevent), EVENT_G(signal_pair)[0], EV_PERSIST|EV_READ, signal_cb, &EVENT_G(sigevent));
++              event_set(&EVENT_G(sigevent), EVENT_G(signal_pair)[0], EV_PERSIST|EV_READ, signal_cb, &EVENT_G(sigevent) TSRMLS_CC);
+               event_add(&EVENT_G(sigevent), NULL TSRMLS_CC);
+       }
+ #endif
This page took 0.034376 seconds and 4 git commands to generate.