summaryrefslogtreecommitdiff
path: root/ftp/bbftp-server/files/patch-bbftpd__signals.c
blob: 725373ee057dba24fcc740d5e52c6b5a0a2c1b35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- bbftpd_signals.c.orig	2013-02-07 10:46:27 UTC
+++ bbftpd_signals.c
@@ -376,7 +376,7 @@ int bbftpd_blockallsignals() {
         syslog(BBFTPD_ERR,"Error sigaction SIGTSTP : %s",strerror(errno)) ;
         return(-1) ;
     }
-#ifndef DARWIN
+#ifdef SIGPOLL
     if ( sigaction(SIGPOLL,&sga,0) < 0 ) {
         syslog(BBFTPD_ERR,"Error sigaction SIGPOLL : %s",strerror(errno)) ;
         return(-1) ;