diff options
author | wiz <wiz@pkgsrc.org> | 2009-10-31 02:54:34 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-10-31 02:54:34 +0000 |
commit | b4abe15f63f1002a0ad2b335b521088a4f8773ba (patch) | |
tree | 6b497858bd0871dd7945e7dfde46937f93a211aa /devel/libdaemon/patches | |
parent | 89d8fae186fde36e07ec7919fff97a50f52a3cf0 (diff) | |
download | pkgsrc-b4abe15f63f1002a0ad2b335b521088a4f8773ba.tar.gz |
Update to 0.14:
add daemon_set_verbosity() call; numerous updates
Diffstat (limited to 'devel/libdaemon/patches')
-rw-r--r-- | devel/libdaemon/patches/patch-aa | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/devel/libdaemon/patches/patch-aa b/devel/libdaemon/patches/patch-aa deleted file mode 100644 index 4cd5ca455a0..00000000000 --- a/devel/libdaemon/patches/patch-aa +++ /dev/null @@ -1,30 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2009/08/18 05:40:44 hasso Exp $ - -http://git.0pointer.de/?p=libdaemon.git;a=commitdiff;h=5b1daf07 - ---- libdaemon/dfork.c.orig 2008-07-28 22:37:56 +0300 -+++ libdaemon/dfork.c 2009-08-18 08:25:30 +0300 -@@ -42,6 +42,14 @@ - #include "dnonblock.h" - #include "dlog.h" - -+#if defined(_NSIG) /* On glibc NSIG does not count RT signals */ -+# define SIGNAL_UPPER_BOUND _NSIG -+#elif defined(NSIG) /* Solaris defines just this */ -+# define SIGNAL_UPPER_BOUND NSIG -+#else -+# error "Unknown upper bound for signals" -+#endif -+ - static int _daemon_retval_pipe[2] = { -1, -1 }; - - static int _null_open(int f, int fd) { -@@ -665,7 +673,7 @@ int daemon_reset_sigs(int except, ...) { - int daemon_reset_sigsv(const int except[]) { - int sig; - -- for (sig = 1; sig < _NSIG; sig++) { -+ for (sig = 1; sig < SIGNAL_UPPER_BOUND; sig++) { - int reset = 1; - - switch (sig) { |