Home GnuPG
Diffusion GnuPG b9333cd890a8

Replace file locking by the new portable dotlock code.
b9333cd890a8Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Replace file locking by the new portable dotlock code.

* include/dotlock.h: New.  From current gnupg master.
* util/dotlock.c: Ditto.  Include util.h.  The major changes done in
master are: Factor Unix and W32 specific code out into specific
functions.  Define HAVE_POSIX_SYSTEM.  Rearrange some functions.
(disable_dotlock): Rename to dotlock_disable.
(create_dotlock): Rename to dotlock_create and add a dummy arg.
(destroy_dotlock): Rename to dotlock_destroy.
(make_dotlock): Rename to dotlock_take.
(release_dotlock): Rename to dotlock_release.
(remove_lockfiles): Rename to dotlock_remove_lockfiles.

Details

Provenance
wernerAuthored on Jan 10 2012, 3:16 PM
Parents
rGdccdcef31901: Update copyright years.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGb9333cd890a8: Replace file locking by the new portable dotlock code. (authored by Werner Koch <wk@gnupg.org>).Jan 10 2012, 3:16 PM