emacs-devel
[Top][All Lists]
Advanced

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

Re: backup method


From: Han Boetes
Subject: Re: backup method
Date: Thu, 27 Jan 2005 02:54:10 +0100
User-agent: Mutt/1.5.6i

Miles Bader wrote:
> Backup-by-renaming is the best method for general use; there are
> specific exceptional cases where it doesn't work well. If some
> of these exceptional cases are easy to detect, Emacs should
> detect them.

If the file is open ie another program has fopen'ed the file then
you have an exceptional case.

lsof and fstat ( for BSD ) can detect open file descriptors. I
suppose emacs can do the same.



# Han




reply via email to

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