diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2005-05-23 10:46:22 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2005-05-23 10:46:22 +0000 |
commit | b641f89e0854f71e850ba1353f4f1b96e04e4385 (patch) | |
tree | 3fc59092050a7fe0bd61c1e105cf78dc1c99d284 /contrib/texinfo/info/signals.h | |
parent | 9456217d09f0616433b42ba7b4c1fa601f1a56e9 (diff) |
Import of stripped down GNU texinfo 4.8
Notes
Notes:
svn path=/vendor/texinfo/dist/; revision=146515
Diffstat (limited to 'contrib/texinfo/info/signals.h')
-rw-r--r-- | contrib/texinfo/info/signals.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/contrib/texinfo/info/signals.h b/contrib/texinfo/info/signals.h index 5c9f252ea67a..2e3761e37b8b 100644 --- a/contrib/texinfo/info/signals.h +++ b/contrib/texinfo/info/signals.h @@ -1,7 +1,7 @@ /* signals.h -- header to include system dependent signal definitions. - $Id: signals.h,v 1.1 2002/08/25 23:38:38 karl Exp $ + $Id: signals.h,v 1.2 2004/04/11 17:56:46 karl Exp $ - Copyright (C) 1993, 1994, 1995, 1997, 2002 Free Software Foundation, Inc. + Copyright (C) 1993, 1994, 1995, 1997, 2002, 2004 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - Written by Brian Fox (bfox@ai.mit.edu). */ + Originally written by Brian Fox (bfox@ai.mit.edu). */ #ifndef INFO_SIGNALS_H #define INFO_SIGNALS_H @@ -34,7 +34,10 @@ # define sigmask(x) (1 << ((x)-1)) #endif /* !HAVE_SIGPROCMASK && !sigmask */ -#if !defined (HAVE_SIGPROCMASK) +/* Without SA_NOCLDSTOP, sigset_t might end up being undefined even + though we have sigprocmask, on older systems, according to Nelson + Beebe. The test is from coreutils/sort.c, via Paul Eggert. */ +#if !defined (HAVE_SIGPROCMASK) || !defined (SA_NOCLDSTOP) # if !defined (SIG_BLOCK) # define SIG_UNBLOCK 1 # define SIG_BLOCK 2 |