[PATCH] combine libbb/xgethostbyname*.c source files into one

Jason Schoon floydpink at gmail.com
Mon Mar 27 15:26:44 UTC 2006

On 3/27/06, Robert P. J. Day <rpjday at mindspring.com> wrote:
>   (analogous to combining the create_icmp*_socket.c source files,
> there seems to be little reason to have two separate source files for
> these two functions.  i'm still not sure what variation of "diff" to
> run to reflect deleted files -- is this the correct diff output?)
The reason for having 2 different files is so if you are only using one of
the two functions based on your configuration, the linker will not need to
include the other object at all.  In this case, not including IPV6 allows
the xgethostbyname2 object to not be linked.  Libbb seems extremely
segmented and far too many files to me, but I believe this is the reason it
was created in that fashion.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20060327/64b02b2b/attachment-0002.htm 

More information about the busybox mailing list