pkgsrc/sysutils/fdtools/patches/patch-src_sigsched.c
schmonz 4fafc00f4a Initial import of fdtools, to manipulate file descriptors from shell scripts.
fdtools is a set of utilities for working with file descriptors. With
these tools, you can examine and manipulate file descriptor properties
from shell scripts, where without them you might have resorted to a
different language. These tools can rewind file descriptors, switch them
between blocking and nonblocking mode, and examine their inode
information. On some systems (currently only Linux, as far as I know)
they can also allocate, lock, and switch virtual consoles.
2017-10-03 00:43:22 +00:00

21 lines
540 B
C

$NetBSD: patch-src_sigsched.c,v 1.1 2017/10/03 00:43:22 schmonz Exp $
Provide a default definition, needed on at least OS X.
--- src/sigsched.c.orig 2015-03-16 03:55:56.000000000 +0000
+++ src/sigsched.c
@@ -36,11 +36,9 @@ XXX: how well do we clean up upon ss_exe
#define sigc_block(x) (sigblock(*(x)))
*/
-/*
-//#ifndef NSIG
-//#define NSIG 64 / * it's not as if any sane system has more than 32 * /
-//#endif
-*/
+#ifndef NSIG
+#define NSIG 64 /* it's not as if any sane system has more than 32 */
+#endif
#define NUMSIGS NSIG