From owner-cvs-src-old@FreeBSD.ORG Sat Feb 5 20:26:17 2011 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 38F9A1065694 for ; Sat, 5 Feb 2011 20:26:17 +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 2712D8FC1A for ; Sat, 5 Feb 2011 20:26:17 +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 p15KQH9D050158 for ; Sat, 5 Feb 2011 20:26:17 GMT (envelope-from jilles@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p15KQHqv050157 for cvs-src-old@freebsd.org; Sat, 5 Feb 2011 20:26:17 GMT (envelope-from jilles@repoman.freebsd.org) Message-Id: <201102052026.p15KQHqv050157@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jilles@repoman.freebsd.org using -f From: Jilles Tjoelker Date: Sat, 5 Feb 2011 20:25:17 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/bin/sh jobs.c src/tools/regression/bin/sh/execution killed1.0 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: Sat, 05 Feb 2011 20:26:17 -0000 jilles 2011-02-05 20:25:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) bin/sh jobs.c Added files: (Branch: RELENG_8) tools/regression/bin/sh/execution killed1.0 Log: SVN rev 218337 on 2011-02-05 20:25:17Z by jilles MFC r217557: sh: Fix signal messages being sent to the wrong file sometimes. When a foreground job exits on a signal, a message is printed to stdout about this. The buffer was not flushed after this which could result in the message being written to the wrong file if the next command was a builtin and had stdout redirected. Example: sh -c 'kill -9 $$'; : > foo; echo FOO:; cat foo Revision Changes Path 1.72.10.7 +1 -0 src/bin/sh/jobs.c 1.1.2.2 +8 -0 src/tools/regression/bin/sh/execution/killed1.0 (new)