diff options
author | Marcus Brinkmann <[email protected]> | 2001-12-14 14:43:38 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2001-12-14 14:43:38 +0000 |
commit | 22bdb71f6a351e599016940247cda4d3c440d122 (patch) | |
tree | 31c487d50b249b96a765a4eb5fe1550e5c26e20f | |
parent | Add items about all the new software included. (diff) | |
download | gpgme-22bdb71f6a351e599016940247cda4d3c440d122.tar.gz gpgme-22bdb71f6a351e599016940247cda4d3c440d122.zip |
2001-12-14 Marcus Brinkmann <[email protected]>
* engine-gpgsm.c (gpgsm_status_handler): Freeze the output file
handler when ending this operation, otherwise the wait function
will sit on it.
-rw-r--r-- | gpgme/ChangeLog | 6 | ||||
-rw-r--r-- | gpgme/engine-gpgsm.c | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 00449dc5..9ead585e 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,5 +1,11 @@ 2001-12-14 Marcus Brinkmann <[email protected]> + * engine-gpgsm.c (gpgsm_status_handler): Freeze the output file + handler when ending this operation, otherwise the wait function + will sit on it. + +2001-12-14 Marcus Brinkmann <[email protected]> + * engine-gpgsm.c (struct gpgsm_object_s): New member colon.attic. (_gpgme_gpgsm_new): Initialize some more members. (_gpgme_gpgsm_release): Free the colon line handler's attic line. diff --git a/gpgme/engine-gpgsm.c b/gpgme/engine-gpgsm.c index 456de4f9..775d44ae 100644 --- a/gpgme/engine-gpgsm.c +++ b/gpgme/engine-gpgsm.c @@ -536,6 +536,8 @@ gpgsm_status_handler (void *opaque, int pid, int fd) /* FIXME Save error somewhere. */ if (gpgsm->status.fnc) gpgsm->status.fnc (gpgsm->status.fnc_value, STATUS_EOF, ""); + if (gpgsm->output_fd) + _gpgme_freeze_fd (gpgsm->output_fd); return 1; } |