summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* update as far as i've double checked things thus farEric Andersen2002-06-181-314/+226
| | | | -Erik
* Add in thread locking for tzset() and associated data. Also, fix a bug soManuel Novoa III2002-06-181-5/+42
| | | | that localtime_r() calls tzset() to initialize/update timezone data.
* Kill kernel_version.c, which is completely meaningless crapEric Andersen2002-06-182-54/+1
| | | | | and didn't even work. -Erik
* Rework, reduce the size, add proper lockingEric Andersen2002-06-189-529/+342
| | | | -Erik
* Remove obsolete files.Manuel Novoa III2002-06-182-110/+0
|
* Fix perror() and printf("%m") to not call strerror(), as required by theManuel Novoa III2002-06-185-8/+59
| | | | | | | | | standards. Temporarily added a utility function to wrap Erik's strerror_r so that "Unknown error xxx" strings can be generated for errno's which cause strerror_r to fail. That utility function will eventually be merged in with the strerror/strerror_r functions when I change over to optionallly mmap'ing the system error strings to provide for lower mem comsumption on non-MMU platforms, as well as locale-specific system error messages.
* Silly name changeEric Andersen2002-06-181-4/+3
|
* Rework and kill pointless static variableEric Andersen2002-06-181-28/+25
| | | | -Erik
* Fix thread locking so it worksEric Andersen2002-06-181-45/+20
| | | | -Erik
* Fix locking. KillEric Andersen2002-06-181-5/+18
|
* Some commentaryEric Andersen2002-06-181-5/+4
| | | | -Erik
* Patch from Martin Proulx <mproulx@okiok.com> to supportEric Andersen2002-06-1818-0/+1317
| | | | the i960 architecture.
* Update rpc headers. Add missing some headersEric Andersen2002-06-178-2/+426
| | | | -Erik
* 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-172-19/+40
| | | | | 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-174-148/+254
| | | | | | 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-1723-2204/+1883
| | | | At least people can play with it. Also, fix a buglet in setenv.c.
* I guess nobody's tried this stuff. I apparently checked in the wrong versionManuel Novoa III2002-06-171-0/+8
| | | | several weeks ago.
* 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 a silly bug...Eric Andersen2002-06-151-1/+1
|
* Fix pthreads to use the rt signals if presentEric Andersen2002-06-132-151/+51
| | | | -Erik
* Begin efforts at reentrance by seperating out the stuff that isn'tEric Andersen2002-06-131-36/+49
| | | | | reentrant and labeling it, and making everything else const. -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-105-634/+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
|
* Fix up of '_dlopen' call and removal of unneeded argument in call ↵"Steven J. Hill"2002-06-055-41/+43
| | | | '_dl_load_elf_shared_library'.
* If we are cross-compiling, don't even try to build the target utilities."Steven J. Hill"2002-06-041-6/+7
|
* 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