summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2001-05-10These are needed for ash-0.3.8Eric Andersen
2001-05-09Add in an older libc5 glob implementation, which is a bit thinner.Eric Andersen
-Erik
2001-05-09By default, leave out the RPC junk (it adds over 30k). Add in a compileEric Andersen
time option to include it if NFS support is wanted (does anyone every use this for anything else these days?) -Erik
2001-05-08Add in libutil, based on Cory Visi's variant of Michael Shmulevich's libutilEric Andersen
port. I have reworked the code quite a bit so that the stuff that is supposed to be in libc is in libc, and I added a bunch of missing stuff so the libutil interface matches that of glibc's libutil. The only caveat is that libutil/login.c is currently a stub. -Erik
2001-05-08Turns out alphasort was totally broken. This fixed one works.Eric Andersen
-Erik
2001-05-08A patch from Jon Nelson <jnelson@securepipe.com> to make scandirEric Andersen
sort things as it is supposed to do.
2001-05-08Code did not match the prototypes, from what I can tell it should be usingDavid McCullough
size_t as the header files have it already.
2001-05-08Quick fix to setjmp/longjmp/sigsetjmp etc to make them work.David McCullough
This should really be fixed to fall into line with the other archs.
2001-05-08Looks like I forgot to commit this.Eric Andersen
2001-05-07Fix fwrite return value bug reported by Matthias Kilian ↵Manuel Novoa III
<kili@outback.escape.de>.
2001-05-07Change FILENAME_MAX to be only 255. Max filename on ext2 is 255,Eric Andersen
so there is no reason to allocate 4k. Change working of execvep.c per patch from Matthias Kilian <kili@outback.escape.de> so that there is not a fixed 127 byte buffer. Too easy to overflow... -Erik
2001-05-07A couple of printf fixes from Johan Adolfsson (johan.adolfsson@axis.com).Manuel Novoa III
2001-05-04Add in inet_ntop() and inet_pton() -- ported from glibc 2.2.3Eric Andersen
by Cory Visi <merlin@phear.lwz.org>
2001-05-04This patch allows powerpc to compile again. It also checks if weEric Andersen
are compiling for an arch for which uClibc has an ld.so or not, and otherwise sets things up to use the system ld.so. -Erik
2001-05-04Initial sparc port, thanks to Mathew Bosworth <mbosworth@metaflow.com>,Eric Andersen
who sent this to me a month ago and I forgot to check it in. Oops. Better late then never. -Erik
2001-05-04Clean up some issues for building on m68k.David McCullough
2001-04-28Fix up a commentEric Andersen
2001-04-27As noted by Michiel Thuys <michiel.thuys@intersil.com>, the weak alias forEric Andersen
srand was in the wrong file, causing rand.o to be needlessly included in some cases.
2001-04-27Patch from Tom Walsh <tom@cyberiansoftware.com> to fix a thinkoEric Andersen
on my patch.
2001-04-25Be really sneaky and use GNU ld special stuff so that whenever folksEric Andersen
use the unsafe gets, they will get a warning from the linker. muahahaha. This method will soon be applied to fork() w/o an mmu etc... -Erik
2001-04-25As pointed out by Michiel Thuys <michiel.thuys@intersil.com>, this wasEric Andersen
checking sizeof which was pure bloat and in many cases wrong. -Erik
2001-04-25Be more strict with the malloc implementation. Return NULLEric Andersen
when folks do a malloc(0) using malloc-simple. -Erik
2001-04-25Be more strict with the glibc style malloc implementation. Return NULLEric Andersen
when folks do a malloc(0) using malloc-930716.
2001-04-24These are needed for arm ld.so support (not at all working yet...)Eric Andersen
-Erik
2001-04-23Always use __NR_<name>, not SYS_<name>Eric Andersen
-Erik
2001-04-23Only compile in daemon() if the target has an MMU.Eric Andersen
-Erik
2001-04-20Use the real getnetbyname(), not the stub in resolv.cEric Andersen
2001-04-20Stub out fpathconf() -- FIXMEEric Andersen
-Erik
2001-04-20Add in a trivial getlogin implementationEric Andersen
2001-04-20Add missing header file for daemon.c, add missing functions into unistd.h.Eric Andersen
I still need to implement getlogin.c fpathconf.c, but they are required for IEEE Std. 1003.13-1998 POSIX_FILE_SYSTEM conformance and we don't have them yet. But we will very very soon. :-) -Erik
2001-04-20Nobody should be using the SYS_ syscall names. Use the __NR_<foo>Eric Andersen
names instead. -Erik
2001-04-20getnetbyname.o, res_init.o and res_query.o were missing from the Makefile,Eric Andersen
patch thanks to John Hall <John.Hall@optionexist.co.uk>
2001-04-19Remove the old crypt implementationEric Andersen
2001-04-19Bring sh and i386 longjmp implementations into syncEric Andersen
2001-04-19Add missing alias siglongjmp = longjmp;Eric Andersen
-Erik
2001-04-19Remove all the __THROW macrosEric Andersen
2001-04-18Posix 1003.13 POSIX_MULTI_PROCESS specifies that execle() shouldEric Andersen
be there, so I just wrote it up. -Erik
2001-04-18Add missing time()Eric Andersen
2001-04-18Update temp file handling and use a single function to do allEric Andersen
the heavy lifting (most of the heavy lifting stolen from glibc, but reduced a bit).
2001-04-06Fix up more leftovers resultant from fixing _LIBCEric Andersen
2001-04-06Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen
This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik
2001-04-05Get the full set of module creating syscalls in place.Eric Andersen
-Erik
2001-04-05Add in delete_moduleEric Andersen
-Erik
2001-04-04Add missing function sigfillset.Manuel Novoa III
2001-04-03Accomodate mmuless systems.Eric Andersen
2001-04-03Add in daemon.c, now used by busybox.Eric Andersen
-Erik
2001-03-30It seems ARM 2.4.x kernels do not have iopl. Also add missingEric Andersen
bits/sem.h for ARM so everything now compiles and runs. -Erik
2001-03-23Bug fix from Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>.Manuel Novoa III
2001-03-22Add in random(), make rand use that under the hood. Fix theEric Andersen
include file so folks know random is now there.
2001-03-21Stub out localeconv. Please look over this to check it is correct....Eric Andersen
I started trying to read the glibc code -- but that code is far too messy to be read. So I just wrote a silly C app against glibc, set the locale to POSIX, then called localeconv(). I wrote this version of localeconv.c so it returns the same stuff. -Erik