emacs-devel
[Top][All Lists]
Advanced

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

Re: Locking files for CLASH_DETECTION now supported on MS-Windows


From: Paul Eggert
Subject: Re: Locking files for CLASH_DETECTION now supported on MS-Windows
Date: Mon, 25 Feb 2013 10:05:42 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3

On 02/25/13 09:43, Eli Zaretskii wrote:
> Trunk revision 111877 implements file locking and clash detection for
> MS-Windows (see the node "Interlocking" in the Emacs manual for the
> details),

The MS-Windows code uses regular files while the GNUish code
uses symbolic links.  Suppose one instance of Emacs is running
on a GNUish host while the other one is running on MS-Windows,
and they are both accessing the same file via NFS.  Won't
that cause problems?  The MS-Windows code will use a regular
file .#FOO while the GNUish code is programmed to ignore locking
for FOO if a regular file .#FOO exists (for compatibility with
non-Emacs programs that use .#FOO for other purposes).

Also, suppose an MS-Windows Emacs uses .#FOO as a lock file while
a non-Emacs program uses .#FOO as a regular file for something else.
Won't there be problems of a different sort?



reply via email to

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