On Sat, 22 Oct 2016 17:15, ijack...@chiark.greenend.org.uk said: > to be creating lockfiles with link(). It is quite difficult to make a > reliable locking scheme with link(). I would have recommended flock
You may want to read the top of gnupg/common/dotlock.c to see why we use this scheme. It is the only _portable_ way of doing advisory locks _across platforms_. FWIW, GNOME uses the same code. Shalom-Salam, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
pgpNo3KTaFj3F.pgp
Description: PGP signature