From 625277fc1b46dff4b5117a531f0c30f19f29b83e Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Fri, 14 Dec 2001 14:43:38 +0000 Subject: [PATCH] 2001-12-14 Marcus Brinkmann * engine-gpgsm.c (gpgsm_status_handler): Freeze the output file handler when ending this operation, otherwise the wait function will sit on it. --- trunk/gpgme/ChangeLog | 6 ++++++ trunk/gpgme/engine-gpgsm.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 00449dc..9ead585 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,9 @@ +2001-12-14 Marcus Brinkmann + + * 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 * engine-gpgsm.c (struct gpgsm_object_s): New member colon.attic. diff --git a/trunk/gpgme/engine-gpgsm.c b/trunk/gpgme/engine-gpgsm.c index 456de4f..775d44a 100644 --- a/trunk/gpgme/engine-gpgsm.c +++ b/trunk/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; } -- 2.26.2