From owner-freebsd-current Wed Aug 5 07:27:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA23177 for freebsd-current-outgoing; Wed, 5 Aug 1998 07:27:04 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from cons.org (knight.cons.org [194.233.237.86]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA23144 for ; Wed, 5 Aug 1998 07:27:00 -0700 (PDT) (envelope-from cracauer@cons.org) Received: (from cracauer@localhost) by cons.org (8.8.8/8.7.3) id QAA26403; Wed, 5 Aug 1998 16:26:39 +0200 (CEST) Message-ID: <19980805162638.A26329@cons.org> Date: Wed, 5 Aug 1998 16:26:38 +0200 From: Martin Cracauer To: Bruce Evans , cracauer@cons.org, freebsd-current@FreeBSD.ORG Subject: Re: make/SIGINT (Re: cvs commit: src/bin/sh jobs.c) References: <199805221609.CAA04233@godzilla.zeta.org.au> <19980805114825.A25826@cons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.1i In-Reply-To: <19980805114825.A25826@cons.org>; from Martin Cracauer on Wed, Aug 05, 1998 at 11:48:25AM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > What happens is that nested shells (like in recursive makes or > test04.sh of my testsuite) each print their own newline. The right > thing would be one newline at all, not one per shell. onint is not > being called more than once for each shell, so I consider this > cosmetic. This seems fixable by if (tcgetpgrp(0) == getpid()) write(STDERR_FILENO, "\n", 1); Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer cracauer@wavehh.hanse.de (batched, preferred for large mails) Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536 Paper: (private) Waldstrasse 200, 22846 Norderstedt, Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message