busybox-1.3.0 and nonstd APIs, installment 2

Denis Vlasenko vda.linux at googlemail.com
Mon Dec 18 14:08:50 PST 2006


On Monday 18 December 2006 07:09, sampo at symlabs.com wrote:
> networking/nc.c 
> 
> 1. Add cast to (struct sockaddr*)

Ok, fixing this...

> 2. Replace use of nonstandard fdprintf() with busybox's built-in
>   full_write(). The fdprintf() under dietlibc() apparently
>   gets somehow aliased to dprintf() which is equally bad. glibc
>   man page provides long explanation why dprintf() is a historical
>   error and should not be used. Neither fdprintf() nor dprintf()
>   is compliant with any known standard. 

But it is neat. Does attached patch work for you?
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: z.diff
Type: text/x-diff
Size: 1907 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20061218/390d1bf2/attachment.bin 


More information about the busybox mailing list