busybox/util-linux
Denis Vlasenko f3745ea489 libbb: introduce xmalloc_xopen_read_close and use where appropriate
instead of xmalloc_open_read_close.

function                                             old     new   delta
xmalloc_xopen_read_close                               -      34     +34
xmalloc_open_read_close                              163     171      +8
passwd_main                                         1070    1074      +4
rexecve                                              254     257      +3
handle_incoming_and_exit                            2657    2659      +2
parse_command                                       1509    1510      +1
buffer_fill_and_print                                 76      73      -3
evaltreenr                                           599     589     -10
evaltree                                             599     589     -10
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 5/3 up/down: 52/-23)             Total: 29 bytes
2008-04-19 19:32:08 +00:00
..
volume_id whitespace fixes 2008-03-28 01:00:09 +00:00
Config.in mdev: optional support for regex pattern group substitution. 2008-03-29 17:26:10 +00:00
dmesg.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
fbset.c *: fix fallout from -Wunused-parameter 2008-03-17 09:04:04 +00:00
fdformat.c *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param) 2008-03-17 09:09:09 +00:00
fdisk_aix.c fdisk: do not open device twice. Complain on fdisk -l /dev/bogus. 2008-04-17 00:12:10 +00:00
fdisk_osf.c fdisk: fix a case where we can inadvertently close /proc/partitions fd early 2008-04-17 01:52:28 +00:00
fdisk_sgi.c fdisk: do not open device twice. Complain on fdisk -l /dev/bogus. 2008-04-17 00:12:10 +00:00
fdisk_sun.c fdisk: do not open device twice. Complain on fdisk -l /dev/bogus. 2008-04-17 00:12:10 +00:00
fdisk.c fdisk: fix a case where we can inadvertently close /proc/partitions fd early 2008-04-17 01:52:28 +00:00
findfs.c findfs,mount: trivial build fix and whitespace fiexs 2008-02-19 11:29:46 +00:00
freeramdisk.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
fsck_minix.c *: fix various kinds of damage to letter 'c' in Arkadiusz Mickiewicz' surname. 2008-03-17 09:29:43 +00:00
getopt.c whitespace fixes 2008-03-28 01:00:09 +00:00
hexdump.c *: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/ 2008-03-26 20:04:27 +00:00
hwclock.c patch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes) 2008-03-23 22:55:25 +00:00
ipcrm.c random s/short/int/ 2008-02-16 13:18:17 +00:00
ipcs.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
Kbuild volude_id: remove unused fields and functions which were setting them 2008-03-17 09:21:26 +00:00
losetup.c patch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes) 2008-03-23 22:55:25 +00:00
mdev.c mdev: optional support for regex pattern group substitution. 2008-03-29 17:26:10 +00:00
minix.h minix.h: add very simple test script 2007-06-13 12:49:46 +00:00
mkfs_minix.c *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param) 2008-03-17 09:09:09 +00:00
mkswap.c mkswap: fix help text to not lie about supported options. 2008-02-13 15:35:52 +00:00
more.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
mount.c mount: remove superfluous comment 2008-04-07 21:05:59 +00:00
pivot_root.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
rdate.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
readprofile.c libbb: introduce xmalloc_xopen_read_close and use where appropriate 2008-04-19 19:32:08 +00:00
rtcwake.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
script.c script: do not ignore poll() errors. ~+20 bytes. 2008-04-01 16:12:17 +00:00
setarch.c *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param) 2008-03-17 09:09:09 +00:00
swaponoff.c *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param) 2008-03-17 09:09:09 +00:00
switch_root.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
umount.c patch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes) 2008-03-23 22:55:25 +00:00