Home GnuPG
Diffusion GnuPG 77b8aff4e1bb

tools: Use platform abstraction for I/O.
77b8aff4e1bbUnpublished

Unpublished Commit ยท Learn More

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

Description

tools: Use platform abstraction for I/O.

* tools/gpgconf-comp.c (retrieve_options_from_file): Use a
gpgrt_stream_t for 'list_file'.  Adapt accordingly.
(copy_file): Likewise for 'src' and 'dst'.
(change_options_file): Likewise for 'src_file' and 'dest_file'.
(change_options_program): Likewise for 'src_file' and 'dest_file'.
(gc_process_gpgconf_conf): Likewise for 'config'.

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 24 2017, 3:06 PM
Parents
rGbfd75e9492fc: tools: Use platform abstraction for renaming files.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rG77b8aff4e1bb: tools: Use platform abstraction for I/O. (authored by Justus Winter <justus@g10code.com>).Jan 24 2017, 3:44 PM