summaryrefslogtreecommitdiffstats
path: root/bin/csh
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2016-03-05 19:55:42 +0000
committermp <mp@FreeBSD.org>2016-03-05 19:55:42 +0000
commit9e883b407eeb3b4a73e68ec238ba88b026228c42 (patch)
treeda2bbc5829e5a40276083002d627fe503716c92a /bin/csh
parent333413e33de61ea590e31efd204f360a84ecc83d (diff)
downloadFreeBSD-src-9e883b407eeb3b4a73e68ec238ba88b026228c42.zip
FreeBSD-src-9e883b407eeb3b4a73e68ec238ba88b026228c42.tar.gz
Signal handling within tcsh vfork code path will conflict with some system
libraries (such as libthr) which maintain their own signal state. This change adds the tcsh SAVESIGVEC option to save and restore the sigvecs for the signals the child modifies before it execs. Reviewed by: kib, rwatson Reported by: kib
Diffstat (limited to 'bin/csh')
-rw-r--r--bin/csh/config_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/csh/config_p.h b/bin/csh/config_p.h
index 0006fe0..f2d7ebc 100644
--- a/bin/csh/config_p.h
+++ b/bin/csh/config_p.h
@@ -80,6 +80,7 @@
/****************** local defines *********************/
#if defined(__FreeBSD__)
+#define SAVESIGVEC
#define NLS_BUGS
#define BSD_STYLE_COLORLS
/* Use LC_MESSAGES locale category to open the message catalog */
OpenPOWER on IntegriCloud