From owner-cvs-all Tue Jul 23 19: 6:12 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF28037B400; Tue, 23 Jul 2002 19:06:08 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75B1A43E42; Tue, 23 Jul 2002 19:06:08 -0700 (PDT) (envelope-from tjr@FreeBSD.org) Received: from freefall.freebsd.org (tjr@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6O268JU000215; Tue, 23 Jul 2002 19:06:08 -0700 (PDT) (envelope-from tjr@freefall.freebsd.org) Received: (from tjr@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6O268oa000214; Tue, 23 Jul 2002 19:06:08 -0700 (PDT) Message-Id: <200207240206.g6O268oa000214@freefall.freebsd.org> From: "Tim J. Robbins" Date: Tue, 23 Jul 2002 19:06:07 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/sh input.c trap.c trap.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG tjr 2002/07/23 19:06:07 PDT Modified files: bin/sh input.c trap.c trap.h Log: Avoid calling el_resize() from a signal handler, even though libedit itself does that if you set EL_SIGNAL. Instead, set a flag and check it before calling el_gets(). This is safer, but slower to respond to changes. Pointed out by: mp Revision Changes Path 1.19 +7 -0 src/bin/sh/input.c 1.25 +3 -2 src/bin/sh/trap.c 1.11 +1 -0 src/bin/sh/trap.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message