[Sks-devel] another bounds problem in SKS
dshaw at jabberwocky.com
Thu Sep 30 20:16:36 CEST 2004
On Thu, Sep 30, 2004 at 02:05:04PM -0400, Jason Harris wrote:
> On Thu, Sep 30, 2004 at 03:26:53PM +0100, Matthew Wilcox wrote:
> > On Thu, Sep 30, 2004 at 08:15:08AM -0400, David Shaw wrote:
> > > No, that looks like something else. The diff is a little mangled,
> > > since you have an error output from another packet in the middle of
> > > the signature packet output.
> > It's not the diff that's mangled, it's the original output file.
> > There must be some buffering problem because the error goes to stderr
> > and the rest goes to stdout. I produced the log using:
> > $ gpg -vv --recv-keys BCE09436 >fabien.log 2>&1
> GPG must not be flushing stdout before writing to stderr,
> which should be unbuffered.
No, it does not flush stdout before writing to stderr. It shouldn't.
They are two different outputs for a reason, and stderr must not be
blocked because stdout is.
More information about the Gnupg-devel