freebsd-dev/usr.sbin/mtree
Ed Schouten b3608ae18f Replace index() and rindex() calls with strchr() and strrchr().
The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.

This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.
2012-01-03 18:51:58 +00:00
..
test
compare.c Change all our own code to use st_*tim instead of st_*timespec. 2010-03-28 13:16:08 +00:00
create.c Change all our own code to use st_*tim instead of st_*timespec. 2010-03-28 13:16:08 +00:00
excludes.c
extern.h
Makefile The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
misc.c
mtree.5 - fix duplicate "a a" in some comments 2011-11-13 17:06:33 +00:00
mtree.8 Wording fixes. 2010-05-14 01:45:05 +00:00
mtree.c mtree should use getcwd() instead of getwd(). getcwd() is safer, 2007-11-02 15:11:53 +00:00
mtree.h
spec.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
specspec.c
verify.c When applying a spec, traverse the existing directory tree in lexical 2007-12-07 12:22:38 +00:00