introduce safe_poll (fixes a problem in top)
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Thu, 27 Sep 2007 10:09:59 +0000 (10:09 +0000)
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Thu, 27 Sep 2007 10:09:59 +0000 (10:09 +0000)
commit595f645a0eab72ac66ce3922717f75d4d759083a
treee9ab2cd35d1f2d51b26a678551a0439b1719928b
parent8c4796cdabe508fe4bc484688aee3afe3ac4927d
introduce safe_poll (fixes a problem in top)

function                                             old     new   delta
safe_poll                                              -      77     +77
svlogd_main                                         1470    1466      -4
zcip_main                                           1530    1524      -6
forkexec                                            1345    1338      -7
decode_format_string                                 795     788      -7
collect_blk                                          474     467      -7
buffer_pread                                         540     532      -8
tftp                                                1182    1172     -10
microcom_main                                        763     749     -14
arpping                                              441     424     -17
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/9 up/down: 77/-80)             Total: -3 bytes
   text    data     bss     dec     hex filename
 770162    1034   10404  781600   bed20 busybox_old
 770158    1034   10404  781596   bed1c busybox_unstripped

git-svn-id: svn://busybox.net/trunk/busybox@20058 69ca8d6d-28ef-0310-b511-8ec308f3f277
13 files changed:
editors/vi.c
include/libbb.h
libbb/Kbuild
libbb/safe_poll.c [new file with mode: 0644]
libbb/safe_strncpy.c
miscutils/microcom.c
networking/httpd.c
networking/tftp.c
networking/traceroute.c
networking/udhcp/arpping.c
networking/zcip.c
procps/top.c
runit/svlogd.c