summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement ttyname_rEric Andersen2002-06-151-28/+50
| | | | -Erik
* Prevent buffer overflowEric Andersen2002-06-151-6/+7
|
* Fix pthreads to use the rt signals if presentEric Andersen2002-06-131-43/+21
| | | | -Erik
* Don't use fixed buffers if we have an mmu such that mallocEric Andersen2002-06-121-8/+15
| | | | | and realloc are cheap. -Erik
* Silence warnings, clean things up.Eric Andersen2002-06-1223-314/+285
| | | | -Erik
* Cleanup the mess, remove now obsolete filesEric Andersen2002-06-1217-1041/+13
| | | | -Erik
* Write a new strxfrm that doesn't make function calls. Uses the same logic asEric Andersen2002-06-122-9/+49
| | | | | | before but unrolls the func calls and thereby eliminates some steps and some bytes. Now adds just 40 bytes to .text. -Erik
* Yipe. As Joseph Chiu noticed, sockvec is supposed to be an int*Eric Andersen2002-06-121-1/+1
| | | | not an int.
* Revert Erik's patch to vasprintf and fix the real issue.Manuel Novoa III2002-06-112-1/+1
| | | | | The writer for the stream returned by open_memstream was supposed to keep the buffer nul-terminated. I apparently left out a statement.
* 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