summaryrefslogtreecommitdiff
path: root/libc/string
AgeCommit message (Collapse)Author
2002-10-01Patch from Stefan Allius <allius@atecom.com>:Eric Andersen
'wcschrnul.o' appeares two times in MOBJW2
2002-09-19Hide my personal #warning reminders. Add __wcschrnul, rename strchrnulManuel Novoa III
to __strchrnul, and add weak aliases for them.
2002-08-27Reimplement sys_errlist[] so that it works on sparc, alpha, and mips.Manuel Novoa III
In my opinion, this is a complete waste of good memory and is only done to avoid the anticipated whining by people who think this libary is named uCglibc. At some point this may become a configurable option. And even then, it may not be available in all configs... for instance when system error messages become locale-dependent.
2002-08-26sparc, alpha, and mips have different errno values than the otherManuel Novoa III
supported platforms. Adjust _susv3_strerror_r function to deal with this. Also fix an error in strerror() wrt invalid errnos. NOTE: sys_errlist and sys_nerr are no longer supported!!!
2002-08-12Revert commit by davidm to printf.c that initialized conv_numManuel Novoa III
needlessly. To do so increases the generated code size with bcc. Eliminate duplicate define warnings in wstring.c. Fix potentially broken preprocessor comparisons. The preprocessor converts integers to maximal signed type, so inequality comparisons involving UINTMAX_MAX, ULLONG_MAX, and (if no long long) ULONG_MAX were potentially broken.
2002-07-08Remove obsolete code.Manuel Novoa III
2002-07-08Fix a preprocessor buglet. Redo sys_siglist/strsignal/psignal.Manuel Novoa III
2002-07-07Obligatory forgotten file.Manuel Novoa III
2002-07-07Attempt to clean up the strerror_r situation.Manuel Novoa III
2002-07-05Add two missing glibc wide string funcs as well as OpenBSD string funcsManuel Novoa III
strlcat and strlcpy.
2002-07-03Add a weak to make apache happyEric Andersen
-Erik
2002-07-03Enable WCHAR support for C/POSIX stub locales.Manuel Novoa III
Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support.
2002-06-17Implement strerror_r. This is per SuSv3, not glibc which doesEric Andersen
something different. -Erik
2002-06-12Cleanup the mess, remove now obsolete filesEric Andersen
-Erik
2002-06-12Write a new strxfrm that doesn't make function calls. Uses the same logic asEric Andersen
before but unrolls the func calls and thereby eliminates some steps and some bytes. Now adds just 40 bytes to .text. -Erik
2002-05-06New locale support (in development). Supports LC_CTYPE, LC_NUMERIC,Manuel Novoa III
LC_TIME, LC_MONETARY, and LC_MESSAGES for the SUSv3 items. Also, nl_langinfo() when real locale support is enabled. New implementation of ctype.h. New implementation of wctype.h. New implementation of most of the string functions (smaller). New implementation of the wcs/wmem functions. These are untested, but they're also just preprocessor-modified versions ot the corresponding str/mem functions. Tweaked qsort and new bsearch. Stuff still pending: stdlib.h and wchar.h mb<->wc functions. I actually have working versions of the stdlib ones, but the reentrant versions from wchar.h require some reworking. Basic replacement and translit support for wc->mb conversions. (groundwork laid). Simple-minded collate support such as was provided by the previous locale implementation. (mostly done -- 8-bit codesets only) Shared mmaping of the locale data and strerror message text.
2002-04-13Fixed stpncpy() implementation from ManuelEric Andersen
2002-03-12Swap in the new stdio code.Manuel Novoa III
2002-02-26Give the label a ; so compilers have no excuse to whineEric Andersen
2002-02-13Fix copyright messageEric Andersen
2002-02-12Mark Robson noticed that our strcasecmp() behaviour was notEric Andersen
standards compliant. Brian Stafford then provided these new implementations, which apprear to properly follow SUSv2. -Erik
2002-02-02Add in a weak __mempcpy for mempcpy to make certain GNUEric Andersen
programs happy. bother...
2002-01-09Implement mempcpyEric Andersen
2002-01-06Use public interface, not a glibc style private oneEric Andersen
-Erik
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-12-19Add basename and dirname. Write memrchr.Eric Andersen
-Erik
2001-10-11Add strndup, written by Stefan Soucek <ssoucek@coactive.com>Eric Andersen
2001-09-27Update to accomodate the header file changesEric Andersen
2001-08-11I just wrote a stpncpy() since someone wanted itEric Andersen
2001-08-11I rewrote strcat without any function calls.Eric Andersen
2001-07-06Fix strxfrm, which was broken (thanks to Shaya Potter <spotter@us.ibm.com>Eric Andersen
for noticing, and cleanup a warning. -Erik
2001-07-04Added stpcpy and strcasestr along with some code to test them.David McCullough
2001-06-27Remove nonstandard functions.Manuel Novoa III
2001-06-15Make strrchr not call other string functions. HopefullyEric Andersen
speeding it a bit.
2001-06-12Cleanup the toploevel makefile handing of shared libs. Add weak_aliasEric Andersen
define, and set things up so nasty old coff toolchains can now compile things and should actually work again. -Erik
2001-06-02Add locale-enabled strcoll function from vodz, plus supporting tool.Manuel Novoa III
2001-06-01oops.Eric Andersen
2001-06-01decouple this from strchrEric Andersen
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
2001-04-06Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen
This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik
2001-03-19Put weak symbols where they can find what they are aliasing. Clean up strcspn.cManuel Novoa III
2001-03-19With the Official Declaration of coff being dead, we canEric Andersen
forget about wrapper functions and just use weak symbols. -Erik
2001-03-15Wow. I'm all full of stupid mistakes today. Fix strxfrmEric Andersen
-Erik
2001-03-15Hah. It turned out that index and rindex were _already_Eric Andersen
there and already implemented as wrapper funcs. And so just the header files were wrong. Anyway, axe the old index and rindex. -Erik
2001-03-15Add strxfrm and strcollEric Andersen
2001-03-15Add index and rindexEric Andersen
2001-03-08Add strnlenEric Andersen
2001-03-03strtok_r.c was not being compiled in, so fix that.Eric Andersen
2001-03-01Added __strtok_r function. Change strtok to a wrapper around __strtok_r andManuel Novoa III
add a weak alias of __strtok_r for strtok_r since optional. Also reduced code size.
2001-02-26Added "psignal" functionDavid McCullough