]> err.no Git - util-linux/commit
replace bcopy,bzero,index and rindex
authorDaniel Mierswa <impulze@impulze.org>
Mon, 17 Aug 2009 05:27:39 +0000 (07:27 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 17 Aug 2009 09:15:59 +0000 (11:15 +0200)
commitc0f19ccff73aa0ec5e9f3b61b932ea4a8bf4e6ed
tree6d4671545542031f67face36783f8ad64b29057c
parentebeafc50f3d8125bd77d601a26351b3eba3bc259
replace bcopy,bzero,index and rindex

Those 4 functions are marked as LEGACY in POSIX.1-2001 and removed in
POSIX.1-2008.

Replaced with memmove,memset,strchr and strrchr.

Signed-off-by: Daniel Mierswa <impulze@impulze.org>
19 files changed:
fdisk/cfdisk.c
fdisk/fdiskbsdlabel.c
fdisk/sfdisk.c
login-utils/login.c
login-utils/shutdown.c
login-utils/ttymsg.c
login-utils/vipw.c
login-utils/wall.c
misc-utils/logger.c
misc-utils/whereis.c
mount/mount.c
mount/mount_mntent.c
mount/sundries.c
partx/partx.c
shlibs/blkid/src/config.c
text-utils/colcrt.c
text-utils/display.c
text-utils/parse.c
text-utils/ul.c