automake
[Top][All Lists]
Advanced

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

Re: Automake's file locking (was Re: Autoconf/Automake is not using vers


From: Paul Eggert
Subject: Re: Automake's file locking (was Re: Autoconf/Automake is not using version from AC_INIT)
Date: Thu, 28 Jan 2021 13:22:42 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1

On 1/28/21 10:34 AM, Zack Weinberg wrote:
we could instead use the
battle-tested technique used by Emacs: symlink sentinels.  (See
https://git.savannah.gnu.org/cgit/emacs.git/tree/src/filelock.c  .)

Although that Emacs code is battle-tested, one of the things it does is fall back on regular files on platforms where symlinks don't work.

Might be simpler to use a directory sentinel.

The main reason I can think of, not to do this, is that it would make
the locking strategy incompatible with that used by older autom4te;

I would say "don't do that"; just stick with current autom4te.



reply via email to

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