Source-Changes-HG archive

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

[src/trunk]: src/bin/ksh ksh: Remove fallback to BSD4.1 signal routines



details:   https://anonhg.NetBSD.org/src/rev/a72a9b242bb8
branches:  trunk
changeset: 824926:a72a9b242bb8
user:      kamil <kamil%NetBSD.org@localhost>
date:      Thu Jun 22 23:56:24 2017 +0000

description:
ksh: Remove fallback to BSD4.1 signal routines

diffstat:

 bin/ksh/config.h |   5 +----
 bin/ksh/sigact.c |  10 +++-------
 2 files changed, 4 insertions(+), 11 deletions(-)

diffs (50 lines):

diff -r fe4081828dd5 -r a72a9b242bb8 bin/ksh/config.h
--- a/bin/ksh/config.h  Thu Jun 22 23:54:13 2017 +0000
+++ b/bin/ksh/config.h  Thu Jun 22 23:56:24 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: config.h,v 1.32 2017/06/22 23:54:13 kamil Exp $        */
+/*     $NetBSD: config.h,v 1.33 2017/06/22 23:56:24 kamil Exp $        */
 
 /* config.h.  Generated automatically by configure.  */
 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
@@ -69,9 +69,6 @@
 /* Define if you have BSD4.2 signal routines (sigsetmask(), et. al.) */
 /* #undef BSD42_SIGNALS */
 
-/* Define if you have BSD4.1 signal routines (sigset(), et. al.) */
-/* #undef BSD41_SIGNALS */
-
 /* Define if you have v7 signal routines (signal(), signal reset on delivery) */
 /* #undef V7_SIGNALS */
 
diff -r fe4081828dd5 -r a72a9b242bb8 bin/ksh/sigact.c
--- a/bin/ksh/sigact.c  Thu Jun 22 23:54:13 2017 +0000
+++ b/bin/ksh/sigact.c  Thu Jun 22 23:56:24 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sigact.c,v 1.4 2003/06/23 11:39:03 agc Exp $   */
+/*     $NetBSD: sigact.c,v 1.5 2017/06/22 23:56:24 kamil Exp $ */
 
 /* NAME:
  *      sigact.c - fake sigaction(2)
@@ -141,7 +141,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: sigact.c,v 1.4 2003/06/23 11:39:03 agc Exp $");
+__RCSID("$NetBSD: sigact.c,v 1.5 2017/06/22 23:56:24 kamil Exp $");
 #endif
 
 
@@ -171,11 +171,7 @@
 #ifdef BSD42_SIGNALS
 # define USE_SIGMASK
 #else
-# ifdef BSD41_SIGNALS
-#  define USE_SIGSET
-# else
-#  define USE_SIGNAL
-# endif
+# define USE_SIGNAL
 #endif /* BSD42_SIGNALS */
 
 /*



Home | Main Index | Thread Index | Old Index