Re: [evolution-patches] gpg --verify patch



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]