diff options
author | tnn <tnn@pkgsrc.org> | 2007-07-21 15:29:50 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2007-07-21 15:29:50 +0000 |
commit | d600ba1e7f40f6c4b86272545ad9217415c980aa (patch) | |
tree | 4d17d23dace2623d7e459808efe5fdbc58d5c716 /pkgtools/pbulk | |
parent | 495f8a912e1adfb60653c1e091934363736710d2 (diff) | |
download | pkgsrc-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.c | 4 |
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); |