From owner-cvs-src-old@FreeBSD.ORG Wed Dec 29 19:40:18 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E19031065670 for ; Wed, 29 Dec 2010 19:40:18 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D015D8FC15 for ; Wed, 29 Dec 2010 19:40:18 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oBTJeID5053771 for ; Wed, 29 Dec 2010 19:40:18 GMT (envelope-from jilles@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oBTJeIXo053770 for cvs-src-old@freebsd.org; Wed, 29 Dec 2010 19:40:18 GMT (envelope-from jilles@repoman.freebsd.org) Message-Id: <201012291940.oBTJeIXo053770@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jilles@repoman.freebsd.org using -f From: Jilles Tjoelker Date: Wed, 29 Dec 2010 19:39:51 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/bin/sh histedit.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2010 19:40:19 -0000 jilles 2010-12-29 19:39:51 UTC FreeBSD src repository Modified files: bin/sh histedit.c Log: SVN rev 216806 on 2010-12-29 19:39:51Z by jilles sh: Properly restore exception handler in fc. If SIGINT arrived at exactly the right moment (unlikely), an exception handler in a no longer active stack frame would be called. Because the old handler was not used in the normal path, clang thought it was a dead value and if an exception happened it would longjmp() to garbage. This caused builtins/fc1.0 to fail if histedit.c was compiled with clang. MFC after: 1 week Revision Changes Path 1.42 +2 -1 src/bin/sh/histedit.c