Re: Automake's file locking (was Re: Autoconf/Automake is not using version from AC_INIT)

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

 



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.




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux