NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/56775: sort -o foo foo can sometines remove foo
The following reply was made to PR bin/56775; it has been noted by GNATS.
From: RVP <rvp%SDF.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: bin/56775: sort -o foo foo can sometines remove foo
Date: Thu, 31 Mar 2022 21:31:11 +0000 (UTC)
On Thu, 31 Mar 2022, Thomas Klausner wrote:
> Shouldn't the there be an
>
> unlink(outfile);
>
> in the error case?
>
rename(2) will do that.
-RVP
Home |
Main Index |
Thread Index |
Old Index