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/f6a5178cf78b
branches: trunk
changeset: 354625:f6a5178cf78b
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 d30a2332b4d4 -r f6a5178cf78b 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 d30a2332b4d4 -r f6a5178cf78b 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