summaryrefslogtreecommitdiff
path: root/bin/csh
diff options
context:
space:
mode:
authorMark Peek <mp@FreeBSD.org>2016-03-05 19:55:42 +0000
committerMark Peek <mp@FreeBSD.org>2016-03-05 19:55:42 +0000
commit26526cb970ae3c1562840eb476fbea32bfba89ac (patch)
treeda2bbc5829e5a40276083002d627fe503716c92a /bin/csh
parentf61ef7f6795ef02655a51d98d4c9b35c10f3df41 (diff)
downloadsrc-test-26526cb970ae3c1562840eb476fbea32bfba89ac.tar.gz
src-test-26526cb970ae3c1562840eb476fbea32bfba89ac.zip
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
Notes
Notes: svn path=/head/; revision=296416
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 0006fe0e15745..f2d7ebc3c7381 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 */