On Wed, Feb 26, 2020 at 9:59 AM Han-Wen Nienhuys <hanw...@gmail.com> wrote: > In this patch, we create a "xxx.lock" file, which is a little ugly. > Let me see if we can lock the directory directly.
you can't (it has to be a file.) see https://gavv.github.io/articles/file-locks/#common-features for more background. -- Han-Wen Nienhuys - hanw...@gmail.com - http://www.xs4all.nl/~hanwen