g10: Use es_fopen instead of open.
authorNeal H. Walfield <neal@g10code.com>
Tue, 22 Nov 2016 16:12:38 +0000 (17:12 +0100)
committerNeal H. Walfield <neal@g10code.com>
Tue, 22 Nov 2016 16:12:38 +0000 (17:12 +0100)
commitbfeafe2d3f9bbaa7f11f3ad870a446141c038b0d
tree4c715fed88e35ec184147c92df2e4240bf561256
parent44c17bcb003a3330f595a6ab144e8439b7b630cb
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.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>
Thanks for Werner for pointing this out: es_fopen is more portable
than open.
g10/tofu.c