bug-gnulib
[Top][All Lists]
Advanced

[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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]