[BusyBox] tail: dprintf [PATCH]
Rob Landley
rob at landley.net
Thu Apr 7 06:17:07 UTC 2005
On Wednesday 06 April 2005 02:25 pm, Shaun Jackman wrote:
> tail uses the non-portable dprintf to test for an output error. A
> portable alternative is to check the return values of printf and
> flush. In this case where a stream is readily available for the file
> descriptor, I prefer this patch, but an alternative is to provide an
> implementation of dprintf in libbb as is already done for vdprintf.
>
> Cheers,
> Shaun
I find dprintf to be quite useful, and would recommend against gratuitously
removing it. uClibc certainly supports it...
Rob
More information about the busybox
mailing list