Bug#429021: builtin echo command redirection misbehaves in detached scripts when terminal is closed
Andreas Schwab wrote:
> Chet Ramey <chet.ramey@case.edu> writes:
>
>> What's needed is a portable interface like BSD's fpurge(3).
>
> This is also available from glibc as __fpurge (likewise on Solaris).
Yes, though I have an aversion to calling functions with a `__' prefix
from user application code.
However:
"These functions are nonstandard and not portable."
It would be nice to have something standardized. I can certainly add
yet another configure test for this -- I just wish I didn't have to.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
Reply to: