Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/sort Add braces in a statically initialized "sigacti...



details:   https://anonhg.NetBSD.org/src/rev/e86238cd3097
branches:  trunk
changeset: 539847:e86238cd3097
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Nov 27 14:44:46 2002 +0000

description:
Add braces in a statically initialized "sigaction" structure to fix a
build problem after siginfo(2) has been added.

diffstat:

 usr.bin/sort/sort.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7218aff4610d -r e86238cd3097 usr.bin/sort/sort.c
--- a/usr.bin/sort/sort.c       Wed Nov 27 14:36:12 2002 +0000
+++ b/usr.bin/sort/sort.c       Wed Nov 27 14:44:46 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sort.c,v 1.27 2001/05/14 21:52:21 jdolecek Exp $       */
+/*     $NetBSD: sort.c,v 1.28 2002/11/27 14:44:46 tron Exp $   */
 
 /*-
  * Copyright (c) 1993
@@ -51,7 +51,7 @@
 #endif /* not lint */
 
 #ifndef lint
-__RCSID("$NetBSD: sort.c,v 1.27 2001/05/14 21:52:21 jdolecek Exp $");
+__RCSID("$NetBSD: sort.c,v 1.28 2002/11/27 14:44:46 tron Exp $");
 __SCCSID("@(#)sort.c   8.1 (Berkeley) 6/6/93");
 #endif /* not lint */
 
@@ -252,7 +252,7 @@
        } else if (!(ch = access(outpath, 0)) &&
            strncmp(_PATH_DEV, outpath, 5)) {
                static const struct sigaction act =
-                   { onsignal, {{0}}, SA_RESTART | SA_RESETHAND };
+                   { {onsignal}, {{0}}, SA_RESTART | SA_RESETHAND };
                static const int sigtable[] = {SIGHUP, SIGINT, SIGPIPE,
                    SIGXCPU, SIGXFSZ, SIGVTALRM, SIGPROF, 0};
                int outfd;



Home | Main Index | Thread Index | Old Index