summaryrefslogtreecommitdiff
path: root/pkgtools/pbulk
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2007-07-21 15:12:06 +0000
committertnn <tnn@pkgsrc.org>2007-07-21 15:12:06 +0000
commit495f8a912e1adfb60653c1e091934363736710d2 (patch)
tree0b8cd5d7b26efe13978173065937db1dc4349cb4 /pkgtools/pbulk
parentbde72979d76dd0d0e25c6ccbe5be14e20e88bba7 (diff)
downloadpkgsrc-495f8a912e1adfb60653c1e091934363736710d2.tar.gz
Add workaround for broken 'struct sigaction' on Interix.
Diffstat (limited to 'pkgtools/pbulk')
-rw-r--r--pkgtools/pbulk/files/pbulk/pscan/pscan.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgtools/pbulk/files/pbulk/pscan/pscan.c b/pkgtools/pbulk/files/pbulk/pscan/pscan.c
index 771006b5479..f724a472408 100644
--- a/pkgtools/pbulk/files/pbulk/pscan/pscan.c
+++ b/pkgtools/pbulk/files/pbulk/pscan/pscan.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pscan.c,v 1.3 2007/07/20 19:39:34 joerg Exp $ */
+/* $NetBSD: pscan.c,v 1.4 2007/07/21 15:12:06 tnn Exp $ */
/*-
* Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>.
@@ -103,7 +103,9 @@ main(int argc, char **argv)
}
}
+#if !defined(__INTERIX)
sa.sa_sigaction = NULL;
+#endif
sa.sa_handler = SIG_IGN;
sa.sa_flags = 0;
(void)sigemptyset(&sa.sa_mask);