summaryrefslogtreecommitdiff
path: root/ext/pcntl/php_signal.c
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2008-08-05 15:12:11 +0000
committerJani Taskinen <jani@php.net>2008-08-05 15:12:11 +0000
commita0470b3ee360ee17453e652eefbad3381fdc6b2b (patch)
tree57a7d8bafd4378ac8b9d54856256646b00d1857b /ext/pcntl/php_signal.c
parentcb39231101c3697471d67618045f25e1c8315332 (diff)
downloadphp-git-a0470b3ee360ee17453e652eefbad3381fdc6b2b.tar.gz
- Portability fix. (si_fd seems to be linux only thing)
Diffstat (limited to 'ext/pcntl/php_signal.c')
-rw-r--r--ext/pcntl/php_signal.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/ext/pcntl/php_signal.c b/ext/pcntl/php_signal.c
index 459a2d78f0..daedeb4048 100644
--- a/ext/pcntl/php_signal.c
+++ b/ext/pcntl/php_signal.c
@@ -24,7 +24,6 @@
* in the Unix Environment by W. Richard Stevens p 298. */
Sigfunc *php_signal(int signo, Sigfunc *func, int restart)
{
-
struct sigaction act,oact;
act.sa_handler = func;
sigemptyset(&act.sa_mask);
@@ -44,3 +43,11 @@ Sigfunc *php_signal(int signo, Sigfunc *func, int restart)
return oact.sa_handler;
}
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */