projects
/
gpgme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caf36ce
)
Fix possible assert in the card edit.
author
Werner Koch
<wk@gnupg.org>
Tue, 9 Jun 2009 18:59:45 +0000
(18:59 +0000)
committer
Werner Koch
<wk@gnupg.org>
Tue, 9 Jun 2009 18:59:45 +0000
(18:59 +0000)
src/ChangeLog
patch
|
blob
|
history
src/engine-gpg.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 7f67b02c4bfb98522ecd9486181e947ecdc1506b..3e03da5dcc964952d8866c2ab567bae57960d6a7 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,5
+1,7
@@
2009-06-09 Werner Koch <wk@g10code.com>
+ * engine-gpg.c (gpg_io_event): Test for cmd.fd.
+
* version.c (gpgme_check_version_internal): Make result const.
* gpgme.c: Include priv-io.h.
diff --git
a/src/engine-gpg.c
b/src/engine-gpg.c
index 606b4d7654d0b8681166d35d4f2708aabbad61ff..34bd613d0724a727a8db0a6f276748f26c373f45 100644
(file)
--- a/
src/engine-gpg.c
+++ b/
src/engine-gpg.c
@@
-171,6
+171,8
@@
close_notify_handler (int fd, void *opaque)
}
else if (gpg->colon.fd[1] == fd)
gpg->colon.fd[1] = -1;
+ else if (gpg->cmd.fd == fd)
+ gpg->cmd.fd = -1;
else if (gpg->fd_data_map)
{
int i;