Re: 'fflush' test failure on Cygwin

2007-04-16 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 4/12/2007 7:30 PM: > > 1) fpurge exists on MacOS X, but only clears the buffer, without changing >the file descriptor's position in the kernel. So it needs this change >(otherwise the stream's position before the f

Re: gnulib tests vs. LDADD

2007-04-16 Thread Eric Blake
Bruno Haible clisp.org> writes: > > It looks like gnulib needs to take its own advice when creating the Makefile.am > > for the tests directory, since I noticed the following message from gnulib- tool: > > Yes indeed. I'm committing this as an attempt to fix it. > > 2007-04-03 Bruno Haible

Re: new module 'fpurge'

2007-04-16 Thread Eric Blake
Eric Blake byu.net> writes: > > Eric Blake byu.net> writes: > > > > #elif defined __sferror /* FreeBSD, NetBSD, OpenBSD, MacOS X, > > Cygwin */ > > > fp->_p = fp->_bf._base; > > > fp->_r = 0; > > > fp->_w = ((fp->_flags & (__SLBF | __SNBF) == 0) /* fully buffered? */ > > Or

Re: new module 'fpurge'

2007-04-16 Thread Eric Blake
Eric Blake byu.net> writes: > > #elif defined __sferror /* FreeBSD, NetBSD, OpenBSD, MacOS X, > Cygwin */ > > fp->_p = fp->_bf._base; > > fp->_r = 0; > > fp->_w = ((fp->_flags & (__SLBF | __SNBF) == 0) /* fully buffered? */ Order of operations. I'm glad to know I'm not the on

Re: new module 'fpurge'

2007-04-16 Thread Eric Blake
Bruno Haible clisp.org> writes: > > This generalizes the fpurge() function from the BSDs (FreeBSD, MacOS X, > OpenBSD, NetBSD). > #elif defined __sferror /* FreeBSD, NetBSD, OpenBSD, MacOS X, Cygwin */ > fp->_p = fp->_bf._base; > fp->_r = 0; > fp->_w = ((fp->_flags & (__SLBF

Re: autobuild.m4

2007-04-16 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: > Hi Simon, > >> Any objections to this patch? > > Only minor ones: > > - About the naming of the naming of the module. It's confusing to see > indications that "autobuild" is > - A package downloadable from your site that makes it easy to collect >