bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] broken dd on systems without __fpending


From: Paul Eggert
Subject: Re: [PATCH] broken dd on systems without __fpending
Date: Sat, 06 Jan 2007 18:41:51 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Mikulas Patocka <address@hidden> writes:

> The correct fix would be to add __fpending to the libc

Yes, that sounds like a good idea, since everyone else who's done that
sort of thing has added <stdio_ext.h>.  I think Solaris did it first,
quite some time ago; see
<http://docs.sun.com/app/docs/doc/816-5168/6mbb3hr8p?a=view>.

> --- are there any programs that require it or is it just a performance
> optimization?

coreutils requires either __fpending or some way to get the info out
of the FILE datatype.  I think it's more to make it convenient to use
stdio correctly (checking for I/O failures) than for optimization.
This is part of gnulib, so other gnulib-using programs might require
it (I don't know).

Other applications (Emacs, Ruby, etc.) are like coreutils (though they
don't use gnulib here).  I think this is more for functionality.

LSB requires __fpending, not that that matters for FreeBSD.




reply via email to

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