Home GnuPG
Diffusion GnuPG bfeafe2d3f9b

g10: Use es_fopen instead of open.
bfeafe2d3f9bUnpublished

Unpublished Commit ยท Learn More

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

Description

g10: Use es_fopen instead of open.

* g10/tofu.c: Don't include <utime.h>, <fcntl.h> or <unistd.h>.
(busy_handler): Replace use of open with es_fopen.

Thanks for Werner for pointing this out: es_fopen is more portable
than open.

  • Signed-off-by: Neal H. Walfield <neal@g10code.com>

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Nov 22 2016, 5:12 PM
Parents
rG44c17bcb003a: g10: If the set of UTKs changes, invalidate any changed policies.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rGbfeafe2d3f9b: g10: Use es_fopen instead of open. (authored by Neal H. Walfield <neal@g10code.com>).Nov 22 2016, 5:12 PM