2005-08-26 Marcus Brinkmann <marcus@g10code.de>

* rungpg.c (command_handler): Use _gpgme_io_write instead of write.
This commit is contained in:
Marcus Brinkmann 2005-08-26 15:35:37 +00:00
parent ae92f92826
commit 38f8bf3b04
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2005-08-26 Marcus Brinkmann <marcus@g10code.de> 2005-08-26 Marcus Brinkmann <marcus@g10code.de>
* rungpg.c (command_handler): Use _gpgme_io_write instead of write.
* edit.c (command_handler): Do not depend on PROCESSED being * edit.c (command_handler): Do not depend on PROCESSED being
available. available.

View File

@ -491,7 +491,7 @@ command_handler (void *opaque, int fd)
/* We always need to send at least a newline character. */ /* We always need to send at least a newline character. */
if (!processed) if (!processed)
write (fd, "\n", 1); _gpgme_io_write (fd, "\n", 1);
gpg->cmd.code = 0; gpg->cmd.code = 0;
/* And sleep again until read_status will wake us up again. */ /* And sleep again until read_status will wake us up again. */