Home GnuPG
Diffusion GnuPG 8241ed59d05e

kbx: New function keybox_file_rename to replace rename.
8241ed59d05eUnpublished

Unpublished Commit · Learn More

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

Description

kbx: New function keybox_file_rename to replace rename.

* kbx/keybox-util.c: Include windows.h.
(keybox_file_rename): New.
* kbx/keybox-update.c (rename_tmp_file): Replace remove+rename by
keybox_file_rename.
* g10/keyring.c (rename_tmp_file): Ditto.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 14 2016, 4:50 PM
Parents
rGf5cceef115f0: kbx: Add function keybox_tmp_names to avoid code duplication.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG8241ed59d05e: kbx: New function keybox_file_rename to replace rename. (authored by Werner Koch <wk@gnupg.org>).Jan 14 2016, 4:50 PM