freebsd-dev/lib/libc
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
..
amd64 Make sure that stack is 16-byte aligned before calling a function, 2011-11-02 18:06:22 +00:00
arm Merge index() and strchr() together. 2012-01-03 07:14:01 +00:00
compat-43 Powerpc is special here. powerpc and powerpc64 use different ABIs, so 2010-08-24 20:54:43 +00:00
db Fix clang warnings. 2011-06-18 13:56:33 +00:00
gdtoa Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
gen Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
gmon Provide 64-bit PowerPC support in libc. 2010-07-10 14:45:03 +00:00
i386 Merge index() and strchr() together. 2012-01-03 07:14:01 +00:00
ia64 Replace a proliferation of buggy MD implementations of modf() with a 2011-10-21 06:40:36 +00:00
iconv Fix a problem whereby a corrupt DNS record can cause named to crash. [11:06] 2011-12-23 15:00:37 +00:00
include Fix a problem whereby a corrupt DNS record can cause named to crash. [11:06] 2011-12-23 15:00:37 +00:00
inet Merge the resolver part of BIND 9.4.3 into HEAD. 2008-12-14 19:39:53 +00:00
isc Merge BIND 9.4.1 into main chunk. 2007-06-03 17:20:27 +00:00
locale libc: Eliminate some relative relocations in setlocale(). 2011-12-27 23:28:01 +00:00
mips Merge index() and strchr() together. 2012-01-03 07:14:01 +00:00
nameser This commit was generated by cvs2svn to compensate for changes in r174223, 2007-12-03 15:07:58 +00:00
net Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
nls Merge from English r198040: add C message catalogue entries for newer 2010-06-20 06:52:10 +00:00
posix1e Make it possible to use permission sets (full_set, modify_set, read_set 2011-04-09 07:42:25 +00:00
powerpc Replace a proliferation of buggy MD implementations of modf() with a 2011-10-21 06:40:36 +00:00
powerpc64 Replace a proliferation of buggy MD implementations of modf() with a 2011-10-21 06:40:36 +00:00
quad Powerpc is special here. powerpc and powerpc64 use different ABIs, so 2010-08-24 20:54:43 +00:00
regex Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
resolv Remove meaningless self-assignment in res_send.c, otherwise clang will 2011-12-15 20:10:12 +00:00
rpc In lib/libc/rpc/crypt_client.c, fix a clang warning about an implicit 2011-12-15 20:27:36 +00:00
softfloat Powerpc is special here. powerpc and powerpc64 use different ABIs, so 2010-08-24 20:54:43 +00:00
sparc64 Replace a proliferation of buggy MD implementations of modf() with a 2011-10-21 06:40:36 +00:00
stdio Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
stdlib Add missing opening and closing brackets in getopt_long.3 and getsubopt.3 2011-12-26 03:14:37 +00:00
stdtime Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
string Merge index() and strchr() together. 2012-01-03 07:14:01 +00:00
sys Fix manual section for acl_get(3) and mac_get(3) family functions. 2011-12-29 21:12:22 +00:00
uuid mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
xdr Add a HISTORY section 2011-07-10 06:57:00 +00:00
yp Handle malloc failures in yplib.c. 2011-12-23 02:13:42 +00:00
Makefile Merge index() and strchr() together. 2012-01-03 07:14:01 +00:00
Versions.def Add a FBSD_1.3 namespace for FreeBSD 10. 2011-10-10 15:42:33 +00:00