From owner-freebsd-current@FreeBSD.ORG Wed Jan 21 07:24:53 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92B85106566C for ; Wed, 21 Jan 2009 07:24:53 +0000 (UTC) (envelope-from rink@rink.nu) Received: from mx1.rink.nu (gloom.rink.nu [213.34.49.2]) by mx1.freebsd.org (Postfix) with ESMTP id 514738FC0A for ; Wed, 21 Jan 2009 07:24:53 +0000 (UTC) (envelope-from rink@rink.nu) Received: from localhost (localhost [127.0.0.1]) by mx1.rink.nu (Postfix) with ESMTP id AFCDF6D42B; Wed, 21 Jan 2009 08:26:01 +0100 (CET) X-Virus-Scanned: amavisd-new at rink.nu Received: from mx1.rink.nu ([213.34.49.2]) by localhost (gloom.rink.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H-Zr7omuVxZr; Wed, 21 Jan 2009 08:25:58 +0100 (CET) Received: by mx1.rink.nu (Postfix, from userid 1000) id 97C2B6D423; Wed, 21 Jan 2009 08:25:58 +0100 (CET) Date: Wed, 21 Jan 2009 08:25:58 +0100 From: Rink Springer To: Giorgos Keramidas Message-ID: <20090121072558.GG78177@rink.nu> References: <87skndg0cv.fsf@kobe.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87skndg0cv.fsf@kobe.laptop> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-current@FreeBSD.org, Tim Kientzle Subject: Re: [PATCH] bsdcpio core dump X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2009 07:24:53 -0000 On Tue, Jan 20, 2009 at 10:59:28PM +0200, Giorgos Keramidas wrote: > 55 *(char *)0 = 1; /* Deliberately segfault and force a coredump. */ Just nitpicking, but wouldn't a call to abort(3) be nicer here? -- Rink P.W. Springer - http://rink.nu "Chance favours the prepared mind" - Penn