(just a small correction)
>
> if they are written poorly enough. This could be worked around fairly
> easily by doing fdopen() on the FILE-pointer returned by popen() and
> doing some select on it.
>
This can ofcourse NOT be worked around by doing an fdopen on the FILE
pointer returned by popen(3). Something along the lines of
inline int fp_to_fd(FILE *f)
{
return f->_fileno;
}
was what I had in mind (who the hell uses fdopen() anyway?).
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Lead Developer
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]