summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-06-20Add support for doing the mmu-less thingEric Andersen
-Erik
2002-06-20Cleanup the function pointer comparisionsEric Andersen
-Erik
2002-06-20Some Rules cleanups, better gcc-3.1 support.Eric Andersen
-Erik
2002-06-20Fix a bug reported by Michael Weiser <michael@weiser.saale-net.de>Eric Andersen
which could cause incorrect invocations of g++. Cleanup a few things. Add a new --uclibc-ctors flag allowing one to apply ctor/dtor support to regular C code. -Erik
2002-06-20Several test case cleanupsEric Andersen
-Erik
2002-06-20Fix DNS resolution so that it once again works. I'd broken itEric Andersen
when adding some locking code. -Erik
2002-06-19Fix incorrect comment re malloc-930716Eric Andersen
-Erik
2002-06-19Oops. Looks like I broke ttyname. Fix it.Eric Andersen
-Erik
2002-06-18A simple test for getcwdEric Andersen
-Erik
2002-06-18Cleanup the getcwd implementation (again) since I broke itEric Andersen
last night. Restore malloc-ing when buf=NULL for the syscall version... Move getcwd to libc/sysdeps/linux/common and out of syscalls.c so there is just one getcwd.o object present. -Erik
2002-06-18Make sure the sccsid tags never get compiled in.Eric Andersen
-Erik
2002-06-18Eliminate all the pointless globals from getcwd(). DefaultEric Andersen
to using the getcwd syscall instead, when it is present. -Erik
2002-06-18update as far as i've double checked things thus farEric Andersen
-Erik
2002-06-18Add in thread locking for tzset() and associated data. Also, fix a bug soManuel Novoa III
that localtime_r() calls tzset() to initialize/update timezone data.
2002-06-18Kill kernel_version.c, which is completely meaningless crapEric Andersen
and didn't even work. -Erik
2002-06-18Rework, reduce the size, add proper lockingEric Andersen
-Erik
2002-06-18Remove obsolete files.Manuel Novoa III
2002-06-18Fix perror() and printf("%m") to not call strerror(), as required by theManuel Novoa III
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.
2002-06-18Silly name changeEric Andersen
2002-06-18Rework and kill pointless static variableEric Andersen
-Erik
2002-06-18Fix thread locking so it worksEric Andersen
-Erik
2002-06-18Fix locking. KillEric Andersen
2002-06-18Some commentaryEric Andersen
-Erik
2002-06-18Patch from Martin Proulx <mproulx@okiok.com> to supportEric Andersen
the i960 architecture.
2002-06-17Update rpc headers. Add missing some headersEric Andersen
-Erik
2002-06-17kill cruftEric Andersen
2002-06-17Make things more re-entrany, kill some cruft.Eric Andersen
-Erik
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!