Re: MSVC and fseeko.c

2016-12-13 Thread Bruno Haible
Gisle Vanem wrote: > Bruno Haible wrote: > > > $ ./gnulib-tool --create-testdir --dir=/tmp/testdir-stdioext --with-tests \ > > --single-configure --avoid=havelib-tests \ > > fseterr freadable fwritable fbufmode freading fwriting \ > > freadptr freads

Re: MSVC and fseeko.c

2016-12-13 Thread Gisle Vanem
Bruno Haible wrote: > $ ./gnulib-tool --create-testdir --dir=/tmp/testdir-stdioext --with-tests \ > --single-configure --avoid=havelib-tests \ > fseterr freadable fwritable fbufmode freading fwriting \ > freadptr freadseek freadahead fpurge fseeko ft

Re: MSVC and fseeko.c

2016-12-12 Thread Bruno Haible
Gisle Vanem wrote: > Seems this file supports every archaic target in existence, but > not MSVC. I've patched it like: > > --- a/lib/fseeko.c 2016-01-30 20:42:16 > +++ b/lib/fseeko.c 2016-01-31 10:25:06 > @@ -100,7 +100,7 @@ > #elif defined EPLAN9/* Plan9 */ >if (fp->rp == fp-

MSVC and fseeko.c

2016-12-12 Thread Gisle Vanem
Seems this file supports every archaic target in existence, but not MSVC. I've patched it like: --- a/lib/fseeko.c 2016-01-30 20:42:16 +++ b/lib/fseeko.c 2016-01-31 10:25:06 @@ -100,7 +100,7 @@ #elif defined EPLAN9/* Plan9 */ if (fp->rp == fp->buf && fp->wp == fp->buf) -