Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2002 22:11:34 +0100
From:      Tony Finch <dot@dotat.at>
To:        Alfred Perlstein <bright@mu.org>
Cc:        John Baldwin <jhb@FreeBSD.org>, "J. Mallett" <jmallett@FreeBSD.ORG>, Garrett Rooney <rooneg@electricjellyfish.net>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/sed main.c sed.1
Message-ID:  <20020507221134.A26336@chiark.greenend.org.uk>
In-Reply-To: <20020507205541.GL36741@elvis.mu.org>; from bright@mu.org on Tue, May 07, 2002 at 01:55:41PM -0700
References:  <20020507191959.GA26441@FreeBSD.ORG> <XFMail.20020507153353.jhb@FreeBSD.org> <20020507205541.GL36741@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 07, 2002 at 01:55:41PM -0700, Alfred Perlstein wrote:
> 
> Just open and then unlink the source file then recreate it as the
> output file.

That's no good if there's a failure, e.g. disk full.

Tony.
-- 
f.a.n.finch <dot@dotat.at> http://dotat.at/
NORTHWEST MALIN HEBRIDES SOUTHEAST BAILEY: NORTHEAST 4 OR 5, OCCASIONALLY 6.
OCCASIONAL RAIN. MODERATE OCCASIONALLY POOR.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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