diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-04-17 01:02:10 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-04-17 01:02:10 +0800 |
commit | 76e859fb6b176fea6b5c6b96516fa3cd54e155ac (patch) | |
tree | dcab43dda4c0932104a2e9c5613022e66c3907b4 /camel/ChangeLog | |
parent | 3c0ee2d3df563f09948351c9306c7bb7e8813f02 (diff) | |
download | gsoc2013-evolution-76e859fb6b176fea6b5c6b96516fa3cd54e155ac.tar gsoc2013-evolution-76e859fb6b176fea6b5c6b96516fa3cd54e155ac.tar.gz gsoc2013-evolution-76e859fb6b176fea6b5c6b96516fa3cd54e155ac.tar.bz2 gsoc2013-evolution-76e859fb6b176fea6b5c6b96516fa3cd54e155ac.tar.lz gsoc2013-evolution-76e859fb6b176fea6b5c6b96516fa3cd54e155ac.tar.xz gsoc2013-evolution-76e859fb6b176fea6b5c6b96516fa3cd54e155ac.tar.zst gsoc2013-evolution-76e859fb6b176fea6b5c6b96516fa3cd54e155ac.zip |
The gpg child process exiting does not necessarily mean that we've ready
2003-04-15 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_verify): The gpg child process exiting
does not necessarily mean that we've ready everything that we can
from its pipes, so don't use gpg_ctx_op_exited() as a loop-exit
condition. If for some reason the gpg child process does exit (due
to an error), gpg_ctx_op_step() will eventually fail (as soon as
it has finished reading any data in the pipes) and cause the loop
to be terminated anyway. This fixes truncation of the gpg --verify
stderr output that Evolution displays as the "validity report"
(for lack of a better description).
(gpg_ctx_op_step): Removed some debugging printf's
(gpg_ctx_get_diagnostics): Use a bitfield to decide if we've
already flushed the diagnostics stream, much simpler (plus we have
plenty of bits to spare so might as well use them).
(gpg_ctx_new): Fixed another logic bug which determined whether or
not we should convert the gpg output from the locale charset into
UTF-8.
svn path=/trunk/; revision=20865
Diffstat (limited to 'camel/ChangeLog')
-rw-r--r-- | camel/ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index ffda1e546e..78d6f813c4 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,22 @@ +2003-04-15 Jeffrey Stedfast <fejj@ximian.com> + + * camel-gpg-context.c (gpg_verify): The gpg child process exiting + does not necessarily mean that we've ready everything that we can + from its pipes, so don't use gpg_ctx_op_exited() as a loop-exit + condition. If for some reason the gpg child process does exit (due + to an error), gpg_ctx_op_step() will eventually fail (as soon as + it has finished reading any data in the pipes) and cause the loop + to be terminated anyway. This fixes truncation of the gpg --verify + stderr output that Evolution displays as the "validity report" + (for lack of a better description). + (gpg_ctx_op_step): Removed some debugging printf's + (gpg_ctx_get_diagnostics): Use a bitfield to decide if we've + already flushed the diagnostics stream, much simpler (plus we have + plenty of bits to spare so might as well use them). + (gpg_ctx_new): Fixed another logic bug which determined whether or + not we should convert the gpg output from the locale charset into + UTF-8. + 2003-04-10 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c: Turn off debugging if |