summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-06-17Re-backport all the rpc stuff from glibc 2.2.5. This allows us to make thisEric Andersen
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
2002-06-17Implement strerror_r. This is per SuSv3, not glibc which doesEric Andersen
something different. -Erik
2002-06-17Shuffle the logic around a bitEric Andersen
-Erik
2002-06-17Shuffle the logic around a bitEric Andersen
2002-06-17Some cleanups so utmp/wtmp behaves. Fix potential use ofEric Andersen
uninitialized memory. Prepare to reentrantify the utmp stuff. -Erik
2002-06-17Ah kant spel mi nameEric Andersen
2002-06-17Add support for sigtimedwait and sigwaitinfoEric Andersen
-Erik
2002-06-17Commit the new time stuff, even though I haven't made it threadsafe yet.Manuel Novoa III
At least people can play with it. Also, fix a buglet in setenv.c.
2002-06-17I guess nobody's tried this stuff. I apparently checked in the wrong versionManuel Novoa III
several weeks ago.
2002-06-15time() is implemented in syscalls.cEric Andersen
-Erik
2002-06-15Implement ttyname_rEric Andersen
-Erik
2002-06-15Prevent buffer overflowEric Andersen
2002-06-15Fix a silly bug...Eric Andersen
2002-06-13Fix pthreads to use the rt signals if presentEric Andersen
-Erik
2002-06-13Begin efforts at reentrance by seperating out the stuff that isn'tEric Andersen
reentrant and labeling it, and making everything else const. -Erik
2002-06-12Don't use fixed buffers if we have an mmu such that mallocEric Andersen
and realloc are cheap. -Erik
2002-06-12Silence warnings, clean things up.Eric Andersen
-Erik
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-05Fix up of '_dlopen' call and removal of unneeded argument in call ↵"Steven J. Hill"
'_dl_load_elf_shared_library'.
2002-06-04If we are cross-compiling, don't even try to build the target utilities."Steven J. Hill"
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-30Fix dependancy. again.Eric Andersen
2002-05-30Fix dependancy for util targetEric Andersen
-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-30Put GCCINCDIR here, which is the only place it is needed.Eric Andersen
-Erik
2002-05-30Cool. An even better way to get the gcc include dir which eliminatesEric Andersen
several external program calls, thanks to a suggestion from rmk. -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-29Silly me. ldd.target is for the target system, so don'tEric Andersen
use-build-dir when compiling... -Erik
2002-05-29Now that was sillyEric Andersen
2002-05-29Update content a bitEric Andersen