2005-08-26 Marcus Brinkmann <marcus@g10code.de>
* rungpg.c (command_handler): Use _gpgme_io_write instead of write.
This commit is contained in:
parent
ae92f92826
commit
38f8bf3b04
@ -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.
|
||||||
|
|
||||||
|
@ -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. */
|
||||||
|
Loading…
Reference in New Issue
Block a user