emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rename, delete and move current buffer and file


From: Andreas Schwab
Subject: Re: Rename, delete and move current buffer and file
Date: Fri, 11 May 2018 09:31:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

On Mai 10 2018, Stefan Monnier <address@hidden> wrote:

> It's not atomic on any POSIX system, AFAIK: it first creates a second
> name with `link` and then deletes the old name with `unlink`.

That method has been obsolete for decades.  POSIX requires rename to be
atomic.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]