Module Name: src
Committed By: kamil
Date: Thu Jun 22 23:56:24 UTC 2017
Modified Files:
src/bin/ksh: config.h sigact.c
Log Message:
ksh: Remove fallback to BSD4.1 signal routines
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/bin/ksh/config.h
cvs rdiff -u -r1.4 -r1.5 src/bin/ksh/sigact.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/ksh/config.h
diff -u src/bin/ksh/config.h:1.32 src/bin/ksh/config.h:1.33
--- src/bin/ksh/config.h:1.32 Thu Jun 22 23:54:13 2017
+++ src/bin/ksh/config.h Thu Jun 22 23:56:24 2017
@@ -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 */
Index: src/bin/ksh/sigact.c
diff -u src/bin/ksh/sigact.c:1.4 src/bin/ksh/sigact.c:1.5
--- src/bin/ksh/sigact.c:1.4 Mon Jun 23 11:39:03 2003
+++ src/bin/ksh/sigact.c Thu Jun 22 23:56:24 2017
@@ -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 @@ __RCSID("$NetBSD: sigact.c,v 1.4 2003/06
#ifdef BSD42_SIGNALS
# define USE_SIGMASK
#else
-# ifdef BSD41_SIGNALS
-# define USE_SIGSET
-# else
-# define USE_SIGNAL
-# endif
+# define USE_SIGNAL
#endif /* BSD42_SIGNALS */
/*