From: Marcus Brinkmann Date: Fri, 26 Aug 2005 15:35:37 +0000 (+0000) Subject: 2005-08-26 Marcus Brinkmann X-Git-Tag: gpgme-1-1-0~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=38f8bf3b04f812ff5cd55e279ca40ca09f699737;p=gpgme.git 2005-08-26 Marcus Brinkmann * rungpg.c (command_handler): Use _gpgme_io_write instead of write. --- 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. */