2001-12-14 Marcus Brinkmann <marcus@g10code.de>

* engine-gpgsm.c (gpgsm_status_handler): Freeze the output file
	handler when ending this operation, otherwise the wait function
	will sit on it.
This commit is contained in:
Marcus Brinkmann 2001-12-14 14:43:38 +00:00
parent f1cca1847c
commit 22bdb71f6a
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2001-12-14 Marcus Brinkmann <marcus@g10code.de>
* 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 <marcus@g10code.de> 2001-12-14 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgsm.c (struct gpgsm_object_s): New member colon.attic. * engine-gpgsm.c (struct gpgsm_object_s): New member colon.attic.

View File

@ -536,6 +536,8 @@ gpgsm_status_handler (void *opaque, int pid, int fd)
/* FIXME Save error somewhere. */ /* FIXME Save error somewhere. */
if (gpgsm->status.fnc) if (gpgsm->status.fnc)
gpgsm->status.fnc (gpgsm->status.fnc_value, STATUS_EOF, ""); gpgsm->status.fnc (gpgsm->status.fnc_value, STATUS_EOF, "");
if (gpgsm->output_fd)
_gpgme_freeze_fd (gpgsm->output_fd);
return 1; return 1;
} }