busybox/networking
Denis Vlasenko abee3d0e0d Fix xmalloc_fgets_str so that it really does NOT strip terminator.
Add xmalloc_fgetline_str which does strip terminator,
and use it in dpkg instead of xmalloc_fgets_str.
netstat: use xmalloc_fgets_str - allows to eat strings with NULs
(this fixes bug with some weird /proc/net/unix input)

function                                             old     new   delta
xmalloc_fgets_internal                                 -     191    +191
xmalloc_fgetline_str                                   -      18     +18
do_info                                              116     120      +4
unix_do_one                                          451     447      -4
tcp_do_one                                           423     419      -4
send_tree                                            369     365      -4
xmalloc_fgets_str                                    178      15    -163
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 1/4 up/down: 213/-175)           Total: 38 bytes
   text    data     bss     dec     hex filename
 778445     832    7344  786621   c00bd busybox_old
 778483     832    7344  786659   c00e3 busybox_unstripped
2007-12-26 20:44:45 +00:00
..
libiproute libnetlink: comment out unused code; don't use 8k stack buffers 2007-12-02 06:30:57 +00:00
udhcp Makefile: change version to 1.10.0.svn 2007-12-24 17:32:22 +00:00
arp.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
arping.c zcip: use low-order 4 bytes of MAC as random seed, not 4 high-order 2007-11-25 12:40:56 +00:00
Config.in nameif: extended matching (Nico Erfurth <masta@perlgolf.de>) 2007-12-24 14:09:19 +00:00
dnsd.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
ether-wake.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
ftp_ipv6_rfc2428.txt Add an RFC for future ipv6 ftp work 2007-11-23 21:43:40 +00:00
ftpgetput.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
hostname.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
httpd_indexcgi.c httpd: code shrink of dir indexer example 2007-08-23 10:43:18 +00:00
httpd.c httpd: fix trivial bug (spotted by Alex Landau) 2007-10-21 23:24:42 +00:00
ifconfig.c ifconfig: code shrink 2007-11-04 04:10:17 +00:00
ifupdown.c logread: eliminate usage of data/bss 2007-11-23 03:39:45 +00:00
inetd.c ip: stop propagating argc; optimize ip_parse_common_args 2007-11-18 22:56:25 +00:00
interface.c whitespace/style fix 2007-10-11 19:53:10 +00:00
ip.c vi: introduce FEATURE_VI_8BIT (as vi currently is not Unicode capable, 2007-12-22 17:00:11 +00:00
ipcalc.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
isrv_identd.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
isrv.c isrv: use monotonic_sec 2007-08-31 21:45:52 +00:00
isrv.h isrv.h: add copyright info 2007-01-14 12:34:48 +00:00
Kbuild slattach: new applet. 2007-06-20 15:23:03 +00:00
nameif.c nameif: extended matching (Nico Erfurth <masta@perlgolf.de>) 2007-12-24 14:09:19 +00:00
nc_bloaty.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
nc.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
netstat.c Fix xmalloc_fgets_str so that it really does NOT strip terminator. 2007-12-26 20:44:45 +00:00
nslookup.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
ping.c ping: fix breakage from -I fix 2007-10-20 02:00:49 +00:00
pscan.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
route.c telnet: use poll, it's shorter 2007-11-06 02:23:39 +00:00
slattach.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
telnet.c telnet: use poll, it's shorter 2007-11-06 02:23:39 +00:00
telnetd.c telnetd: fix problem with zombies (by Paul Fox <pgf@brightstareng.com>) 2007-11-06 01:38:46 +00:00
tftp.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
traceroute.c traceroute: stop using global data/bss 2007-12-16 17:19:40 +00:00
vconfig.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
wget.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
zcip.c zcip: simplify code a bit 2007-11-25 12:53:25 +00:00