summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* This patch from Rik Faith <faith@alephnull.com> fixes a potentiallyEric Andersen2002-06-111-0/+1
| | | | | | | 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!
* A patch from Ted Phelps to fix popen(). Ted writes:Eric Andersen2002-06-111-1/+1
| | | | | | | | | 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!
* Kill the libc-lock headers, which we do not use and which areEric Andersen2002-06-103-381/+7
| | | | | not correct for uClibc. Fix setenv locking to behave itself. -Erik
* Oops. Forgot to check this in. Thanks Martin Volf for noticingEric Andersen2002-06-091-1/+1
| | | | -Erik
* Added a version of nl_langinfo for the stub C/POSIX locale support.Manuel Novoa III2002-06-081-3/+92
|
* Changes so that 'regdef.h' gets included in the development environment."Steven J. Hill"2002-06-046-4/+66
|
* Moved to 'sys' directory."Steven J. Hill"2002-06-041-61/+0
|
* Doh!Eric Andersen2002-06-011-1/+1
|
* Patch from Robert Griebl <griebl@gmx.de> to supportEric Andersen2002-05-311-0/+63
| | | | getusershell() and friends.
* Rework setenv, getenv and friends per the latest glibc code, but cleanedEric Andersen2002-05-304-200/+191
| | | | | up for readability. Merge in putenv. Add clearenv as a side effect. -Erik
* -#ifdef _POSIX_THREADSEric Andersen2002-05-301-2/+3
| | | | +#ifdef __UCLIBC_HAS_THREADS__
* Fixup totally broken locking code... No storage for the mutex,Eric Andersen2002-05-308-29/+29
| | | | | wrong ifdef macro.. -Erik
* Doh! A silly typo broke select...Eric Andersen2002-05-301-2/+2
| | | | -Erik
* And with this, the alpha port is not basically working.Eric Andersen2002-05-301-24/+24
| | | | -Erik
* don't include the linux dir. Pointless and broken.Eric Andersen2002-05-301-1/+0
| | | | -Erik
* Make these properly cope with 64bit systemsEric Andersen2002-05-302-29/+35
| | | | -Erik
* Fixup some silly bugs I added earlierEric Andersen2002-05-301-40/+37
| | | | -Erik
* Needed for the alpha portEric Andersen2002-05-306-1/+292
| | | | -Erik
* Make syscalls.c way more generic. Now works on alpha...Eric Andersen2002-05-301-4/+173
| | | | -Erik
* Cope with systems that don't glob all these together, but useEric Andersen2002-05-303-17/+48
| | | | | separate syscalls. -Erik
* Obligatory forgotten file during commit...Manuel Novoa III2002-05-231-1/+1
|
* Multibyte and wide char conversion functions. Some work still to do, butManuel Novoa III2002-05-234-0/+909
| | | | | they're quite solid now and Erik needs them for the gcc port. Comments at the head of wchar.c.
* Several h8300 updates from Yoshinori Sato <qzb04471@nifty.ne.jp>Eric Andersen2002-05-232-5/+5
|
* Cleanup slightlyEric Andersen2002-05-231-8/+10
|
* Changes needed for MIPS with regards to the .init and .fini sections."Steven J. Hill"2002-05-201-4/+0
|
* Revert Erik's previous patch and fix what I believe he was trying to, whileManuel Novoa III2002-05-121-20/+28
| | | | preserving the space-saving aliases.
* Add a missing #includeEric Andersen2002-05-121-0/+5
|
* Use the default version in include/sys insteadEric Andersen2002-05-122-70/+0
|
* Fixes for 64 bit archesEric Andersen2002-05-121-1/+29
|
* Several bugfixes for problems that showed up on alphaEric Andersen2002-05-122-8/+20
| | | | -Erik
* Fix some silly bugs and type problemsEric Andersen2002-05-121-15/+14
|
* Small cleanups for alphaEric Andersen2002-05-121-0/+1
|
* Fix this one up so it worksEric Andersen2002-05-121-3/+3
|
* Add a default syscalls.h that will just error out.Eric Andersen2002-05-123-0/+252
| | | | Add in syscalls.h for alpha.
* Fix the defines which I had backwardsEric Andersen2002-05-111-26/+9
|
* Fixup for architectures that do not supply the ipc systemEric Andersen2002-05-111-22/+24
| | | | | call, but implement the ipc functions as separate system calls. -Erik
* Majorly rework to also cope with architectures which do not useEric Andersen2002-05-111-2/+99
| | | | | | the socketcall system call, but instead implement each fundamental networking function directly as a system call. -Erik
* Oops. Stupid typo.Eric Andersen2002-05-111-1/+1
|
* Adjust preprocessor logic to initialize QUAL_CHARS correctly for Erik's alphaManuel Novoa III2002-05-113-19/+42
| | | | | port. Also, explicitly use the macro versions of isdigit and isspace in the printf and scanf code.
* Begin the process of reworking the time functions for properEric Andersen2002-05-1115-410/+432
| | | | | | time zone and locale support (in theory). More work is still needed. -Erik
* Implement readdir_r. Audit for proper thread safety and locking.Eric Andersen2002-05-1110-101/+140
| | | | -Erik
* Protect against ctype macros.Manuel Novoa III2002-05-101-4/+6
|
* First pass attempt at an alpha portEric Andersen2002-05-1035-0/+3158
|
* Fixup build a bit moreEric Andersen2002-05-071-2/+8
|
* The obligatory forgotten files...Manuel Novoa III2002-05-061-0/+1
|
* New locale support (in development). Supports LC_CTYPE, LC_NUMERIC,Manuel Novoa III2002-05-0618-1148/+3236
| | | | | | | | | | | | | | | | | | | | | | 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.
* Use __off64_t instead of off64_t.Miles Bader2002-04-251-2/+2
|
* Stupid libgcc.a from gcc 2.95.x uses __write in pure.oEric Andersen2002-04-251-0/+3
| | | | | which is a blatent GNU libc-ism... Cope. -Erik
* Don't bother zeroing BSS, since actually we _can_ rely on the loader to do it.Miles Bader2002-04-251-10/+1
|
* Add support for mmap64Eric Andersen2002-04-242-1/+53
| | | | -Erik