On Tue, Jun 18, 2013 at 01:09:10PM -0700, Paul Eggert wrote:
On 06/18/13 11:42, Rich Felker wrote:
if
you think it matters, you could add #elif defined _POSIX_VERSION
containing the if(0)
Yes, that should work, though it needs to check a couple ore
things as well. I pushed the
Hi again,
Last year after a great deal of discussion, we got most of the issues
between gnulib and musl libc fixed. However there's one problem that
keeps coming up again and again from our users: when cross-compiling,
gnulib treats fseeko (well, actually fflush(stdin), which in turn
requires a
On 06/18/13 10:03, Rich Felker wrote:
1. In the #else case, instead of #error, put if(0)
2. Write a portable version of the replacement code
How about this idea instead?
3. Modify gl_FUNC_FFLUSH_STDIN so that it checks at
compile-time whether it's using musl, and succeeds
in
On Tue, Jun 18, 2013 at 10:41:45AM -0700, Paul Eggert wrote:
On 06/18/13 10:03, Rich Felker wrote:
1. In the #else case, instead of #error, put if(0)
2. Write a portable version of the replacement code
How about this idea instead?
3. Modify gl_FUNC_FFLUSH_STDIN so that it checks
On 06/18/13 11:07, Rich Felker wrote:
Of my two
proposed fixes, the first would fix the issue on any future system
that's not broken (not just existing ones), but would obviously not
support future broken systems.
But we're not talking about future systems here; we're merely talking
about
On Tue, Jun 18, 2013 at 11:32:50AM -0700, Paul Eggert wrote:
On 06/18/13 11:07, Rich Felker wrote:
Of my two
proposed fixes, the first would fix the issue on any future system
that's not broken (not just existing ones), but would obviously not
support future broken systems.
But we're