Re: 'fflush' test failure on Cygwin

2007-04-23 Thread Eric Blake
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 > or , here's a proposed fix. ( is simpler, is required > by ISO C, do

Re: 'fflush' test failure on Cygwin

2007-04-23 Thread Bruno Haible
Eric Blake wrote: > 2007-04-16 Eric Blake <[EMAIL PROTECTED]> > > Make fflush rely on fpurge. > * lib/fflush.c (rpl_fflush): Rely on fpurge module, rather than > open coding all variants. > * modules/fflush (Depends-on): Add fpurge and unistd. > * modules/fflush-tes

Re: new module 'fpurge'

2007-04-23 Thread Bruno Haible
Eric Blake wrote: > > Order of operations. I'm glad to know I'm not the only one that makes this > > mistake. > > Actually, I found the real problem, with a bit more looking at the code. > With > this patch, test-fpurge passes on cygwin Thanks for these fixes. Sorry, I was in a hurry, and do

Re: new module 'fbufmode'

2007-04-23 Thread Bruno Haible
This makes it compile and work on Solaris/SPARC64. 2007-04-23 Bruno Haible <[EMAIL PROTECTED]> * lib/fbufmode.c (fbufmode): Port to Solaris/SPARC64. *** lib/fbufmode.c 14 Apr 2007 00:20:08 - 1.1 --- lib/fbufmode.c 23 Apr 2007 07:58:40 - *** *** 55,63