Re: [evolution-patches] gpg --verify patch
- From: Not Zed <notzed ximian com>
- To: Jeffrey Stedfast <fejj ximian com>
- Cc: evolution-patches ximian com
- Subject: Re: [evolution-patches] gpg --verify patch
- Date: 16 Apr 2003 09:18:36 +0930
as far as i can tell this is ok
On Wed, 2003-04-16 at 06:11, Jeffrey Stedfast wrote:
> Checking some of Ettore's signatures today, I noticed that the validity
> description was sometimes getting truncated.
>
> Turned out to be a simple logic bug...
>
> pseudo code:
>
> while (!gpg->complete && !gpg->exited) {
> read_from_gpg();
> }
>
> the problem was that gpg would exit before we'd gotten to read all the
> data from the pipes, so we'd exit the loop prematurely.
>
> While I fixed that, I also removed some previous debug printf's I had
> added. Also simplified the process to check if we had flushed the
> diagnostics stream by just using a bit field (had 18 to spare) rather
> than checking of the GByteArray ended with a '\0'
>
> Jeff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]