From owner-svn-src-head@freebsd.org Sat Mar 5 19:55:44 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4CBFB9DBB6B; Sat, 5 Mar 2016 19:55:44 +0000 (UTC) (envelope-from mp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1F452C38; Sat, 5 Mar 2016 19:55:44 +0000 (UTC) (envelope-from mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u25Jthac044290; Sat, 5 Mar 2016 19:55:43 GMT (envelope-from mp@FreeBSD.org) Received: (from mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u25JthsW044289; Sat, 5 Mar 2016 19:55:43 GMT (envelope-from mp@FreeBSD.org) Message-Id: <201603051955.u25JthsW044289@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mp set sender to mp@FreeBSD.org using -f From: Mark Peek Date: Sat, 5 Mar 2016 19:55:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r296416 - head/bin/csh X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2016 19:55:44 -0000 Author: mp Date: Sat Mar 5 19:55:42 2016 New Revision: 296416 URL: https://svnweb.freebsd.org/changeset/base/296416 Log: 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 Modified: head/bin/csh/config_p.h Modified: head/bin/csh/config_p.h ============================================================================== --- head/bin/csh/config_p.h Sat Mar 5 19:29:18 2016 (r296415) +++ head/bin/csh/config_p.h Sat Mar 5 19:55:42 2016 (r296416) @@ -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 */