From 38f8bf3b04f812ff5cd55e279ca40ca09f699737 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Fri, 26 Aug 2005 15:35:37 +0000 Subject: [PATCH] 2005-08-26 Marcus Brinkmann * rungpg.c (command_handler): Use _gpgme_io_write instead of write. --- gpgme/ChangeLog | 2 ++ gpgme/rungpg.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 972f9e3..9affd16 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,5 +1,7 @@ 2005-08-26 Marcus Brinkmann + * rungpg.c (command_handler): Use _gpgme_io_write instead of write. + * edit.c (command_handler): Do not depend on PROCESSED being available. diff --git a/gpgme/rungpg.c b/gpgme/rungpg.c index a53bac3..66d1bda 100644 --- a/gpgme/rungpg.c +++ b/gpgme/rungpg.c @@ -491,7 +491,7 @@ command_handler (void *opaque, int fd) /* We always need to send at least a newline character. */ if (!processed) - write (fd, "\n", 1); + _gpgme_io_write (fd, "\n", 1); gpg->cmd.code = 0; /* And sleep again until read_status will wake us up again. */ -- 2.26.2