modprobe: use buffering line reads (fgets) instead of reads().
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 4 Aug 2008 21:16:46 +0000 (21:16 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 4 Aug 2008 21:16:46 +0000 (21:16 -0000)
commit855ff6f503ee50fad3eb6fa30e2b02f53f32d63d
tree7cc63f646f0c9c5bcacefe2a8e453a3796902af0
parent5db861a9eb93c4562798654f53022088784f35eb
modprobe: use buffering line reads (fgets) instead of reads().
libbb: remove reads()

function                                             old     new   delta
include_conf_file_act                                961     980     +19
localcmd                                             282     284      +2
already_loaded                                       155     151      -4
in_cksum                                              58      53      -5
modprobe_main                                       1630    1624      -6
reads                                                129       -    -129
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 2/3 up/down: 21/-144)          Total: -123 bytes
include/libbb.h
libbb/read.c
modutils/modprobe.c