tools: Use platform abstraction for I/O.
authorJustus Winter <justus@g10code.com>
Tue, 24 Jan 2017 14:36:59 +0000 (15:36 +0100)
committerJustus Winter <justus@g10code.com>
Tue, 24 Jan 2017 14:44:16 +0000 (15:44 +0100)
commit73d6572bd0f260c5aa1e191a1ba4859ec6fa262c
tree3e862e49fda43dc5b8611a24222b2e0f79de0336
parent77b8aff4e1bb641f497e63230a5006ab70e6c3a8
tools: Use platform abstraction for I/O.

* tools/gpg-connect-agent.c (main): Use a gpgrt_stream_t for
'script_fp'.  Adapt accordingly.
--
Werner asked me to make gpgconf use the platform abstractions that
were introduced after gpgconf's inception.  After doing that, I
realized that 'read_line' is only used in two more places, one of
which this patch takes care of.

Signed-off-by: Justus Winter <justus@g10code.com>
tools/gpg-connect-agent.c