summaryrefslogtreecommitdiffstats
path: root/bin/csh
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2016-03-17 00:32:29 +0000
committermp <mp@FreeBSD.org>2016-03-17 00:32:29 +0000
commitc2cc32114687e58e09f2a03652d27d2968343a1b (patch)
tree78ce5529fd6630197a277f8cd9307fe251b99f75 /bin/csh
parent4c0b9655c91bb58a191d3035dcc3c143fd688b81 (diff)
downloadFreeBSD-src-c2cc32114687e58e09f2a03652d27d2968343a1b.zip
FreeBSD-src-c2cc32114687e58e09f2a03652d27d2968343a1b.tar.gz
MFC 296416:
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