> Date: Fri, 27 Feb 2015 11:02:00 -0500
> From: Ken Brown <[email protected]>
> CC: [email protected], [email protected]
> 
> > I'm actually asking myself why do we redirect stdin to the file before
> > reading it, instead of using 'fopen' to read the few first bytes, and
> > then, only if it is compressed, redirect stdin to it and call 'popen'.
> > Wouldn't that work around the problem?
> 
> Like this?

Yes, that's what I had in mind.  Thanks.

Reply via email to