aboutsummaryrefslogtreecommitdiff
path: root/src/string (follow)
Commit message (Expand)AuthorAgeFilesLines
* add all missing wchar functions except floating point parsers•••these are mostly untested and adapted directly from corresponding byte string functions and similar. Rich Felker2012-03-019-0/+71
* add dummied strverscmp (obnoxious GNU function)•••programs that use this tend to horribly botch international text support, so it's questionable whether we want to support it even in the long term... for now, it's just a dummy that calls strcmp. Rich Felker2011-09-111-0/+7
* fix wrong type for wcsrchr argument 2Rich Felker2011-06-131-1/+1
* fix strncat and wcsncat (double null termination)•••also modify wcsncpy to use the same loop logic Rich Felker2011-05-223-3/+3
* fix wcsncpy writing past end of bufferRich Felker2011-05-221-1/+1
* function signature fix: add const qualifier to mempcpy src argRich Felker2011-04-261-1/+1
* implement memrchr (nonstandard) and optimize strrchr in terms of itRich Felker2011-04-132-4/+15
* fix misplaced *'s in string functions (harmless)Rich Felker2011-04-073-3/+3
* fix prototype for strsepRich Felker2011-04-061-0/+1
* fix misaligned read on early string termination in strchr•••this could actually cause rare crashes in the case where a short string is located at the end of a page and the following page is not readable, and in fact this was seen in gcc compiling certain files. Rich Felker2011-04-051-1/+2
* fix serious bug in strchr - char signedness•••search for bytes with high bit set was giving (potentially dangerous) wrong results. i've tested, cleaned up, and hopefully sped up this function now. Rich Felker2011-04-031-9/+11
* fix all implicit conversion between signed/unsigned pointers•••sadly the C language does not specify any such implicit conversion, so this is not a matter of just fixing warnings (as gcc treats it) but actual errors. i would like to revisit a number of these changes and possibly revise the types used to reduce the number of casts required. Rich Felker2011-03-256-20/+16
* fix broken wmemchr (unbounded search)Rich Felker2011-03-171-1/+1
* fix missing prototype for strsignalRich Felker2011-02-261-0/+1
* add implementation of memccpy functionRich Felker2011-02-241-0/+32
* fix backwards conditional in stpncpy•••this only made the function unnecessarily slow on systems with unaligned access, but would of course crash on systems that can't do unaligned accesses (none of which have ports yet). Rich Felker2011-02-241-1/+1
* more header cleanup and conformance fixes - string.hRich Felker2011-02-141-0/+1
* initial check-in, version 0.5.0Rich Felker2011-02-1260-0/+1054