[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mingw lseek bug
From: |
Bruno Haible |
Subject: |
Re: mingw lseek bug |
Date: |
Mon, 28 May 2007 16:27:39 +0200 |
User-agent: |
KMail/1.5.4 |
Eric Blake wrote:
> > --- 9,40 ----
> > AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
> > AC_REQUIRE([AC_PROG_CC])
> > AC_CACHE_CHECK([whether lseek detects pipes], [gl_cv_func_lseek_pipe],
> > ! [if test $cross_compiling = no; then
> > ! AC_LINK_IFELSE([
> > ! #include <sys/types.h> /* for off_t */
>
> Isn't this redundant...
>
> > ! #include <stdio.h> /* for SEEK_CUR */
> > ! #include <unistd.h>
>
> ... since unistd.h must also provide off_t?
It doesn't on mingw. Without #include <sys/types.h>, the test fails on mingw,
as expected, but not for the real reason...
Bruno
- mingw lseek bug, Eric Blake, 2007/05/24
- Re: mingw lseek bug, Brian Dessent, 2007/05/24
- Re: mingw lseek bug, Bruno Haible, 2007/05/24
- Re: mingw lseek bug, Eric Blake, 2007/05/24
- Re: mingw lseek bug, Eric Blake, 2007/05/24
- Re: mingw lseek bug, Bruno Haible, 2007/05/24
- Re: mingw lseek bug, Eric Blake, 2007/05/24
- Re: mingw lseek bug, Bruno Haible, 2007/05/28
- Re: mingw lseek bug, Eric Blake, 2007/05/28
- Re: mingw lseek bug,
Bruno Haible <=
- Re: mingw lseek bug, Bruno Haible, 2007/05/28
- Re: mingw lseek bug, Eric Blake, 2007/05/28
- Re: mingw lseek bug, Bruno Haible, 2007/05/28
- Re: mingw lseek bug, Eric Blake, 2007/05/28
- Re: mingw lseek bug, Bruno Haible, 2007/05/28
- Re: mingw lseek bug, Bruno Haible, 2007/05/28
- new module 'fseek' (Re: mingw lseek bug), Bruno Haible, 2007/05/28
- new module 'ftell' (was: Re: mingw lseek bug), Bruno Haible, 2007/05/28
Re: mingw lseek bug, Bruno Haible, 2007/05/24