[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'fflush' test failure on Cygwin
From: |
Eric Blake |
Subject: |
Re: 'fflush' test failure on Cygwin |
Date: |
Mon, 23 Apr 2007 06:50:11 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666 |
According to Bruno Haible on 4/23/2007 2:56 AM:
>> Make fflush rely on fpurge.
>
> This fails to compile on some system (sorry, I don't remember which one),
> because off_t is not defined. Since off_t is defined by either <sys/types.h>
> or <unistd.h>, here's a proposed fix. (<sys/types.h> is simpler, is required
> by ISO C, does not need <unistd.h>.)
>
>
> 2007-04-23 Bruno Haible <address@hidden>
>
> * lib/fflush.c: Include <sys/types.h>. Needed for off_t.
Thanks for testing. But fflush already depends on the unistd module for
lseek; I just missed including it in my edits.
And it still fails to compile on mingw, which lacks ftello. So we still
need to figure out how to handle ftell/ftello and fseek/fseeko as gnulib
modules.
--
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
signature.asc
Description: OpenPGP digital signature
- Re: 'fflush' test failure on Cygwin, (continued)
- Re: 'fflush' test failure on Cygwin, Bruno Haible, 2007/04/13
- Re: operations on FILE streams, Bruno Haible, 2007/04/13
- Re: operations on FILE streams, Paul Eggert, 2007/04/13
- Re: operations on FILE streams, Bruno Haible, 2007/04/13
- Re: operations on FILE streams, Eric Blake-1, 2007/04/13
- Re: operations on FILE streams, Bruno Haible, 2007/04/13
- Re: operations on FILE streams, Paul Eggert, 2007/04/13
- Re: operations on FILE streams, Bruno Haible, 2007/04/13
- Re: 'fflush' test failure on Cygwin, Eric Blake, 2007/04/16
- Re: 'fflush' test failure on Cygwin, Bruno Haible, 2007/04/23
- Re: 'fflush' test failure on Cygwin,
Eric Blake <=
- new module 'fseeko', Bruno Haible, 2007/04/25
- Re: new module 'fseeko', Eric Blake, 2007/04/25
- Re: new module 'fseeko', Bruno Haible, 2007/04/26
- Re: new module 'fseeko', Bruno Haible, 2007/04/28
- Re: new module 'fseeko', Paul Eggert, 2007/04/25
- Re: new module 'fseeko', Bruno Haible, 2007/04/26
- new module 'ftello', Bruno Haible, 2007/04/25
- Re: 'fflush' test failure on Cygwin, Bruno Haible, 2007/04/25
- Re: 'fflush' test failure on Cygwin, Eric Blake, 2007/04/25
- Re: 'fflush' test failure on Cygwin, Bruno Haible, 2007/04/26