summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* kill cruftEric Andersen2002-06-171-5/+4
|
* Make things more re-entrany, kill some cruft.Eric Andersen2002-06-175-440/+385
| | | | -Erik
* Re-backport all the rpc stuff from glibc 2.2.5. This allows us to make thisEric Andersen2002-06-1745-5018/+8139
| | | | | | | | junk (and I do mean that ;-) thread safe without undue pain. Adds 12k worth to the code size I'm afraid, but since I never use NFS and therefore never include this stuff, I guess thats acceptable. I still need to enable the multi-threaded bits... -Erik
* Implement strerror_r. This is per SuSv3, not glibc which doesEric Andersen2002-06-171-18/+39
| | | | | something different. -Erik
* Shuffle the logic around a bitEric Andersen2002-06-171-56/+49
| | | | -Erik
* Shuffle the logic around a bitEric Andersen2002-06-172-54/+62
|
* Some cleanups so utmp/wtmp behaves. Fix potential use ofEric Andersen2002-06-173-90/+210
| | | | | | uninitialized memory. Prepare to reentrantify the utmp stuff. -Erik
* Ah kant spel mi nameEric Andersen2002-06-171-1/+1
|
* Add support for sigtimedwait and sigwaitinfoEric Andersen2002-06-171-0/+39
| | | | -Erik
* Commit the new time stuff, even though I haven't made it threadsafe yet.Manuel Novoa III2002-06-1722-2204/+1881
| | | | At least people can play with it. Also, fix a buglet in setenv.c.
* time() is implemented in syscalls.cEric Andersen2002-06-152-39/+1
| | | | -Erik
* 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