summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
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-06-12Yipe. As Joseph Chiu noticed, sockvec is supposed to be an int*Eric Andersen
not an int.
2002-06-11Revert Erik's patch to vasprintf and fix the real issue.Manuel Novoa III
The writer for the stream returned by open_memstream was supposed to keep the buffer nul-terminated. I apparently left out a statement.
2002-06-11This patch from Rik Faith <faith@alephnull.com> fixes a potentiallyEric Andersen
non-NULL terminated string problem that could result from the use of open_memstream(). Manuel may have a better solution, but this one works for me, since with this plus the popen fix I can now run things like gdb properly. Thanks Rik!
2002-06-11A patch from Ted Phelps to fix popen(). Ted writes:Eric Andersen
There is a minor bug in the implementation of popen(). In the case where the file descriptor returned from its call to pipe() is the same as the file descriptor that it is meant to be (where the dup2() branch is not taken), the end of the pipe is still closed by close(reading) even though it shouldn't be. Thanks Ted!
2002-06-10Kill the libc-lock headers, which we do not use and which areEric Andersen
not correct for uClibc. Fix setenv locking to behave itself. -Erik
2002-06-09Oops. Forgot to check this in. Thanks Martin Volf for noticingEric Andersen
-Erik
2002-06-08Added a version of nl_langinfo for the stub C/POSIX locale support.Manuel Novoa III
2002-06-04Changes so that 'regdef.h' gets included in the development environment."Steven J. Hill"
2002-06-04Moved to 'sys' directory."Steven J. Hill"
2002-06-01Doh!Eric Andersen
2002-05-31Patch from Robert Griebl <griebl@gmx.de> to supportEric Andersen
getusershell() and friends.
2002-05-30Rework setenv, getenv and friends per the latest glibc code, but cleanedEric Andersen
up for readability. Merge in putenv. Add clearenv as a side effect. -Erik
2002-05-30-#ifdef _POSIX_THREADSEric Andersen
+#ifdef __UCLIBC_HAS_THREADS__
2002-05-30Fixup totally broken locking code... No storage for the mutex,Eric Andersen
wrong ifdef macro.. -Erik
2002-05-30Doh! A silly typo broke select...Eric Andersen
-Erik
2002-05-30And with this, the alpha port is not basically working.Eric Andersen
-Erik
2002-05-30don't include the linux dir. Pointless and broken.Eric Andersen
-Erik
2002-05-30Make these properly cope with 64bit systemsEric Andersen
-Erik
2002-05-30Fixup some silly bugs I added earlierEric Andersen
-Erik
2002-05-30Needed for the alpha portEric Andersen
-Erik
2002-05-30Make syscalls.c way more generic. Now works on alpha...Eric Andersen
-Erik
2002-05-30Cope with systems that don't glob all these together, but useEric Andersen
separate syscalls. -Erik
2002-05-23Obligatory forgotten file during commit...Manuel Novoa III
2002-05-23Multibyte and wide char conversion functions. Some work still to do, butManuel Novoa III
they're quite solid now and Erik needs them for the gcc port. Comments at the head of wchar.c.
2002-05-23Several h8300 updates from Yoshinori Sato <qzb04471@nifty.ne.jp>Eric Andersen
2002-05-23Cleanup slightlyEric Andersen
2002-05-20Changes needed for MIPS with regards to the .init and .fini sections."Steven J. Hill"
2002-05-12Revert Erik's previous patch and fix what I believe he was trying to, whileManuel Novoa III
preserving the space-saving aliases.
2002-05-12Add a missing #includeEric Andersen
2002-05-12Use the default version in include/sys insteadEric Andersen
2002-05-12Fixes for 64 bit archesEric Andersen
2002-05-12Several bugfixes for problems that showed up on alphaEric Andersen
-Erik
2002-05-12Fix some silly bugs and type problemsEric Andersen
2002-05-12Small cleanups for alphaEric Andersen
2002-05-12Fix this one up so it worksEric Andersen
2002-05-12Add a default syscalls.h that will just error out.Eric Andersen
Add in syscalls.h for alpha.
2002-05-11Fix the defines which I had backwardsEric Andersen
2002-05-11Fixup for architectures that do not supply the ipc systemEric Andersen
call, but implement the ipc functions as separate system calls. -Erik
2002-05-11Majorly rework to also cope with architectures which do not useEric Andersen
the socketcall system call, but instead implement each fundamental networking function directly as a system call. -Erik
2002-05-11Oops. Stupid typo.Eric Andersen
2002-05-11Adjust preprocessor logic to initialize QUAL_CHARS correctly for Erik's alphaManuel Novoa III
port. Also, explicitly use the macro versions of isdigit and isspace in the printf and scanf code.
2002-05-11Begin the process of reworking the time functions for properEric Andersen
time zone and locale support (in theory). More work is still needed. -Erik
2002-05-11Implement readdir_r. Audit for proper thread safety and locking.Eric Andersen
-Erik
2002-05-10Protect against ctype macros.Manuel Novoa III
2002-05-10First pass attempt at an alpha portEric Andersen
2002-05-07Fixup build a bit moreEric Andersen
2002-05-06The obligatory forgotten files...Manuel Novoa III
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.