Module Name: src Committed By: kamil Date: Fri Jun 23 00:07:15 UTC 2017
Modified Files: src/bin/ksh: sigact.c Log Message: ksh: Drop the latest ifdef for BSD4.1 and eliminate dead code around it To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 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/sigact.c diff -u src/bin/ksh/sigact.c:1.6 src/bin/ksh/sigact.c:1.7 --- src/bin/ksh/sigact.c:1.6 Thu Jun 22 23:59:28 2017 +++ src/bin/ksh/sigact.c Fri Jun 23 00:07:15 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: sigact.c,v 1.6 2017/06/22 23:59:28 kamil Exp $ */ +/* $NetBSD: sigact.c,v 1.7 2017/06/23 00:07:15 kamil Exp $ */ /* NAME: * sigact.c - fake sigaction(2) @@ -141,7 +141,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: sigact.c,v 1.6 2017/06/22 23:59:28 kamil Exp $"); +__RCSID("$NetBSD: sigact.c,v 1.7 2017/06/23 00:07:15 kamil Exp $"); #endif @@ -169,28 +169,6 @@ __RCSID("$NetBSD: sigact.c,v 1.6 2017/06 #define USE_SIGMASK -/* - * if we haven't been told, - * try and guess what we should implement with. - */ -#if !defined(USE_SIGSET) && !defined(USE_SIGMASK) && !defined(USE_SIGNAL) -# if defined(sigmask) || defined(BSD) || defined(_BSD) && !defined(BSD41) -# define USE_SIGMASK -# else -# ifndef NO_SIGSET -# define USE_SIGSET -# else -# define USE_SIGNAL -# endif -# endif -#endif -/* - * if we still don't know, we're in trouble - */ -#if !defined(USE_SIGSET) && !defined(USE_SIGMASK) && !defined(USE_SIGNAL) -error must know what to implement with -#endif - #include "sigact.h" /*