busybox/networking
Denis Vlasenko 084266ed52 fix several problems with config parser:
a bug where it underflows the string
 a bug where it never frees parser_t struct
make read_config() return 0 if parser is NULL,
 make config_close() accept and ignore NULL parser -
 eliminates many if() blocks
reverse the sense of parser bit flags - negative flags
 are harder to grok.
hexdump: revert the change to use config parser, it is BIGGER
 and also requires additional quirks in parser
*: explicitly use PARSER_NORMAL instead of 0

function                                             old     new   delta
login_main                                          1575    1596     +21
config_close                                          18      29     +11
bbunpack                                             383     391      +8
qgravechar                                           106     109      +3
rtnl_tab_initialize                                  121     117      -4
expand                                              1697    1693      -4
man_main                                             717     712      -5
nameif_main                                          674     668      -6
hexdump_main                                         597     591      -6
read_config                                          217     209      -8
dnsd_main                                           1478    1470      -8
sysctl_main                                          203     189     -14
config_open2                                          44      25     -19
make_device                                         1177    1141     -36
config_read                                          597     549     -48
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/11 up/down: 43/-158)         Total: -115 bytes
2008-07-26 23:08:31 +00:00
..
libiproute fix several problems with config parser: 2008-07-26 23:08:31 +00:00
udhcp fix several problems with config parser: 2008-07-26 23:08:31 +00:00
arp.c libbb: [x]fopen_for_{read,write} introduced and used. 2008-07-21 23:05:26 +00:00
arping.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
brctl.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
Config.in - wrap overlong lines (Cristian Ionescu-Idbohrn) 2008-07-22 18:27:53 +00:00
dnsd.c fix several problems with config parser: 2008-07-26 23:08:31 +00:00
ether-wake.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
ftpgetput.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
hostname.c fix several problems with config parser: 2008-07-26 23:08:31 +00:00
httpd_indexcgi.c - use STD*_FILENO some more. No object-code changes 2008-05-19 09:48:17 +00:00
httpd_post_upload.txt httpd: add an example of POST upload CGI 2008-04-17 12:35:09 +00:00
httpd.c libbb: [x]fopen_for_{read,write} introduced and used. 2008-07-21 23:05:26 +00:00
ifconfig.c networking/interface.c: fix indentation 2008-06-04 07:59:51 +00:00
ifenslave.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
ifupdown.c libbb: [x]fopen_for_{read,write} introduced and used. 2008-07-21 23:05:26 +00:00
inetd.c inetd: do not trash errno in signal handlers; 2008-07-22 20:57:28 +00:00
interface.c libbb: [x]fopen_for_{read,write} introduced and used. 2008-07-21 23:05:26 +00:00
ip.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
ipcalc.c remove whitespace damage. No code changes 2008-04-19 21:57:57 +00:00
isrv_identd.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
isrv.c actually add bb_qsort.c 2008-03-02 12:53:15 +00:00
isrv.h Use intra-DSO calls when we build libbusybox. No-op for normal build. 2008-05-09 17:59:34 +00:00
Kbuild *: mode tcp/udpsvd to networking, delete ipsvd/* 2008-03-17 09:13:22 +00:00
nameif.c fix several problems with config parser: 2008-07-26 23:08:31 +00:00
nc_bloaty.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
nc.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
netstat.c libbb: [x]fopen_for_{read,write} introduced and used. 2008-07-21 23:05:26 +00:00
nslookup.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
ping.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
pscan.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
route.c libbb: [x]fopen_for_{read,write} introduced and used. 2008-07-21 23:05:26 +00:00
sendmail.c sendmail: update from the maintainer 2008-07-17 19:37:09 +00:00
slattach.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
tcpudp_perhost.c svn add/svn rm to actually move tcp/udpsvd... 2008-03-17 09:17:27 +00:00
tcpudp_perhost.h Use intra-DSO calls when we build libbusybox. No-op for normal build. 2008-05-09 17:59:34 +00:00
tcpudp.c - first pass to unify/cleanup uid handling (-236b) 2008-07-21 14:41:33 +00:00
telnet.c telnet: shrink 2008-07-21 09:22:28 +00:00
telnetd.c telnet: shrink 2008-07-21 09:22:28 +00:00
tftp.c - first pass to unify/cleanup uid handling (-236b) 2008-07-21 14:41:33 +00:00
traceroute.c libbb: [x]fopen_for_{read,write} introduced and used. 2008-07-21 23:05:26 +00:00
vconfig.c *: s/IF_NAMESIZE/IFNAMSIZ/, regularize its use a bit. 2008-04-21 02:21:45 +00:00
wget.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
zcip.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00