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