Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2009 08:25:58 +0100
From:      Rink Springer <rink@FreeBSD.org>
To:        Giorgos Keramidas <keramida@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org, Tim Kientzle <kientzle@FreeBSD.org>
Subject:   Re: [PATCH] bsdcpio core dump
Message-ID:  <20090121072558.GG78177@rink.nu>
In-Reply-To: <87skndg0cv.fsf@kobe.laptop>
References:  <87skndg0cv.fsf@kobe.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090121072558.GG78177>