Re: texinfo-5.9.90 pretest available

2015-02-27 Thread Eli Zaretskii
> Date: Fri, 27 Feb 2015 11:02:00 -0500 > From: Ken Brown > CC: k...@freefriends.org, bug-texinfo@gnu.org > > > 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, redi

Re: texinfo-5.9.90 pretest available

2015-02-27 Thread Ken Brown
On 2/27/2015 9:39 AM, Eli Zaretskii wrote: Date: Fri, 27 Feb 2015 13:43:48 + From: Gavin Smith Cc: Eli Zaretskii , Karl Berry , Texinfo On 27 February 2015 at 13:13, Ken Brown wrote: No, it turns out that it has to do with buffered I/O. See the thread starting here: https://cygwin.

Re: texinfo-5.9.90 pretest available

2015-02-27 Thread Eli Zaretskii
> Date: Fri, 27 Feb 2015 13:43:48 + > From: Gavin Smith > Cc: Eli Zaretskii , Karl Berry , Texinfo > > > On 27 February 2015 at 13:13, Ken Brown wrote: > > No, it turns out that it has to do with buffered I/O. See the thread > > starting here: > > > > https://cygwin.com/ml/cygwin/2015-0

Re: texinfo-5.9.90 pretest available

2015-02-27 Thread Gavin Smith
On 27 February 2015 at 13:13, Ken Brown wrote: > No, it turns out that it has to do with buffered I/O. See the thread > starting here: > > https://cygwin.com/ml/cygwin/2015-02/msg00887.html > > Replacing the fseek in line 841 by another call to freopen fixes the > problem. I don't know if that

Re: texinfo-5.9.90 pretest available

2015-02-27 Thread Ken Brown
On 2/27/2015 2:00 AM, Eli Zaretskii wrote: Date: Thu, 26 Feb 2015 21:34:03 + From: Gavin Smith Cc: Eli Zaretskii , Karl Berry , Texinfo I checked the 5.2 release and it was done differently. The code looked like: if (*compression_program) { /* It's compressed, so fclose the file