]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount, eject: replace index() and rindex() with strrch() or strrchr()
authorSami Kerola <kerolasa@iki.fi>
Fri, 12 Oct 2012 19:23:54 +0000 (20:23 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 22 Oct 2012 08:13:32 +0000 (10:13 +0200)
commit913e43b8e2dedbac69880e26fc1eead509fb666e
tree641afdbe6475341ec2e73781b48b48898ef752e0
parent6c32ae7868dee85720d6b716590dde88ced87fdd
libmount, eject: replace index() and rindex() with strrch() or strrchr()

Both index() and rindex() are legacy functions which may be withdrawn in
a future.

Reference: http://pubs.opengroup.org/onlinepubs/009695399/functions/index.html
Reference: http://pubs.opengroup.org/onlinepubs/009695399/functions/rindex.html
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
libmount/src/tab_parse.c
sys-utils/eject.c