save a bit of code with *strchrnul = '\0' trick
authorDenis Vlasenko <vda.linux@googlemail.com>
Wed, 26 Dec 2007 20:56:55 +0000 (20:56 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Wed, 26 Dec 2007 20:56:55 +0000 (20:56 -0000)
commitc03e8721128fa7803d40dd07084f7650e88c7355
treec13760bac677e9d4220477c0ac29ed9c2a52c1a4
parentabee3d0e0dc7c7e4b733b0145c56bf8159a37a69
save a bit of code with *strchrnul = '\0' trick

function                                             old     new   delta
nextline                                              59      55      -4
include_conf                                         902     898      -4
read_config                                          414     406      -8
fsck_main                                           1880    1869     -11
e2fsprogs/fsck.c
modutils/modprobe.c
networking/inetd.c
networking/udhcp/files.c
util-linux/mount.c