libbb: prevent xmalloc_open_read_close from dying on seek failure
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 20 Apr 2008 01:27:59 +0000 (01:27 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 20 Apr 2008 01:27:59 +0000 (01:27 -0000)
commit25cfe4996ec967e19283f6b66c45cf220a615528
treee8ff708534af65f0cdf6739d04496969d4a0ddb5
parent5b3adae7e844f87febdcae15e0f3a652839fe750
libbb: prevent xmalloc_open_read_close from dying on seek failure
start_stop_daemon: use open_read_close instead of xmalloc_open_read_close
start_stop_daemon: use local structure instead of global one

function                                             old     new   delta
check                                               1620    1661     +41
xmalloc_open_read_close                              171     190     +19
start_stop_daemon_main                               976     954     -22
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 60/-22)             Total: 38 bytes
debianutils/start_stop_daemon.c
libbb/read.c