Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Any way to allow clobbering empty files when noclobber is set?
On Sat, Jun 6, 2020 at 4:58 AM Peter Stephenson
<p.w.stephenson@xxxxxxxxxxxx> wrote:
>
> Assuming both processes are actually doing clobbering opens (O_CREAT |
> O_EXCL), you can't get into that position.
Just to clarify: O_CREAT|O_EXCL is actually the NO_clobber-ing open.
The clobbering open is just to open it for writing if allowed to. and
start scribbling over whatever is there.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author