Home GnuPG
Diffusion GnuPG bfd75e9492fc

tools: Use platform abstraction for renaming files.
bfd75e9492fcUnpublished

Unpublished Commit ยท Learn More

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

Description

tools: Use platform abstraction for renaming files.

* tools/gpgconf-comp.c (gc_component_change_options): Use
'gnupg_rename_file'.  Also, block signals across all renames in an
attempt to make the whole process atomic.

Werner asked me to make gpgconf use the platform abstractions that
were introduced after gpgconf's inception.

  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Jan 23 2017, 2:26 PM
Parents
rG82e309ad0688: tools: Add comments explaining the functions parameters.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rGbfd75e9492fc: tools: Use platform abstraction for renaming files. (authored by Justus Winter <justus@g10code.com>).Jan 24 2017, 3:44 PM