Re: Texinfo 7.0.94 on native Windows

2023-10-15 Thread Eli Zaretskii
> From: Bruno Haible > Cc: gavinsmith0...@gmail.com, bug-texinfo@gnu.org > Date: Sun, 15 Oct 2023 16:25:56 +0200 > > Eli Zaretskii wrote: > > _popen accepts a MODE argument which can be used to control that, see > > > > > >

Re: Texinfo 7.0.94 on native Windows

2023-10-15 Thread Bruno Haible
Eli Zaretskii wrote: > _popen accepts a MODE argument which can be used to control that, see > > > https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/popen-wpopen?view=msvc-170 > > We use this in the stand-alone Info reader, for example, in this > snippet from info/filesys.c: >

Re: Texinfo 7.0.94 on native Windows

2023-10-15 Thread Eli Zaretskii
> From: Bruno Haible > Cc: gavinsmith0...@gmail.com, bug-texinfo@gnu.org > Date: Sun, 15 Oct 2023 15:11:33 +0200 > > Eli Zaretskii wrote: > > > For 'popen' and 'pclose', one needs the gnulib modules 'popen' and > > > 'pclose', > > > respectively. > > > > Windows has _popen and _pclose, which

Re: Texinfo 7.0.94 on native Windows

2023-10-15 Thread Bruno Haible
Eli Zaretskii wrote: > > For 'popen' and 'pclose', one needs the gnulib modules 'popen' and 'pclose', > > respectively. > > Windows has _popen and _pclose, which can be used instead. _popen uses text mode, not binary mode, by default, AFAIK. This can be problematic. Bruno

Re: Texinfo 7.0.94 on native Windows

2023-10-15 Thread Gavin Smith
On Sun, Oct 15, 2023 at 01:24:32PM +0200, Bruno Haible wrote: > On mingw 5.0.3, there are no test failures any more. > A big improvement, compared to 7.0.90 (see my earlier report at > ). This is likely to the fix that Eli sent

Re: Texinfo 7.0.94 on native Windows

2023-10-15 Thread Eli Zaretskii
> From: Bruno Haible > Date: Sun, 15 Oct 2023 13:24:32 +0200 > > For 'popen' and 'pclose', one needs the gnulib modules 'popen' and 'pclose', > respectively. Windows has _popen and _pclose, which can be used instead. That's what MinGW does, AFAIK. But I'm not sure Texinfo should try

Re: Texinfo 7.0.94 on native Windows

2023-10-15 Thread Bruno Haible
On mingw 5.0.3, there are no test failures any more. A big improvement, compared to 7.0.90 (see my earlier report at ). With MSVC 14 (64-bit) instead of mingw, though, there are compilation errors and warnings: