pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk/files/pbulk/pbuild Add workaround for b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/80464a4c38d3
branches:  trunk
changeset: 531154:80464a4c38d3
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Jul 21 15:29:50 2007 +0000

description:
Add workaround for broken 'struct sigaction' on Interix.

diffstat:

 pkgtools/pbulk/files/pbulk/pbuild/pbuild.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 12f98c302b3b -r 80464a4c38d3 pkgtools/pbulk/files/pbulk/pbuild/pbuild.c
--- a/pkgtools/pbulk/files/pbulk/pbuild/pbuild.c        Sat Jul 21 15:12:06 2007 +0000
+++ b/pkgtools/pbulk/files/pbulk/pbuild/pbuild.c        Sat Jul 21 15:29:50 2007 +0000
@@ -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@localhost>.
@@ -121,7 +121,9 @@
                usage();
        }
 
+#if !defined(__INTERIX)
        sa.sa_sigaction = NULL;
+#endif
        sa.sa_handler = SIG_IGN;
        sa.sa_flags = 0;
        (void)sigemptyset(&sa.sa_mask);



Home | Main Index | Thread Index | Old Index