Eric Blake wrote:
> > I got it the tests to work on both cygwin and
> > mingw as follows, so I think it is worth checking it in as a starting
> > point.
Now that fflush works, I'm adding back the fflush calls to the 'freading' and
'fwriting' tests.
2007-04-28 Bruno Haible <[EMAIL PROTECTED]>
Eric Blake wrote:
> Should we also add a link warning for programs that use fseek/ftell
> instead of fseeko/ftello, telling the user they are potentially
> artificially limited by not using off_t?
Yes. This implements your suggestion.
2007-04-28 Bruno Haible <[EMAIL PROTECTED]>
* lib/s
Jim Meyering <[EMAIL PROTECTED]> writes:
> 2007-04-28 Jim Meyering <[EMAIL PROTECTED]>
>
> Avoid false-negative in gl_STDINT_H's C99 conformance test.
> * m4/stdint.m4 (gl_STDINT_H): When checking whether stdint.h conforms
> to C99, include all of gl_STDINT_INCLUDES, not just .
I was surprised to see gl_cv_header_working_stdint_h=no in config.cache
when building coreutils on a rawhide-based system. That check
for stdint.h conformance to C99 was failing due to e.g., sig_atomic_t
not being defined. Here's a fix:
2007-04-28 Jim Meyering <[EMAIL PROTECTED]>
Avoi
Eric Blake wrote:
> The workaround would be
> to see if lseek returns a non-negative number; and if so, read the
> internals of the FILE to see how many bytes remain in the read buffer (the
> default buffer size is 4k); then since the file is seekable, temporarily
> swap the fd into O_BINARY mode,