summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* A patch from Matthias Kilian <kili@outback.escape.de> to fix -DDEBUG_MALLOCEric Andersen2001-05-112-1/+12
| | | | | so that it works for realloc too. -Erik
* Fix up the 'make clean' targetEric Andersen2001-05-111-1/+1
|
* Fix 'make clean' targetEric Andersen2001-05-111-1/+1
|
* Fix 'make clean' so it clean the rpc dirEric Andersen2001-05-111-1/+1
|
* Oops. Forgot the makefile updatesEric Andersen2001-05-102-2/+3
|
* These are needed for ash-0.3.8Eric Andersen2001-05-102-0/+95
|
* Add in an older libc5 glob implementation, which is a bit thinner.Eric Andersen2001-05-091-963/+451
| | | | -Erik
* By default, leave out the RPC junk (it adds over 30k). Add in a compileEric Andersen2001-05-091-3/+8
| | | | | | time option to include it if NFS support is wanted (does anyone every use this for anything else these days?) -Erik
* Add in libutil, based on Cory Visi's variant of Michael Shmulevich's libutilEric Andersen2001-05-088-1/+694
| | | | | | | | 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
* Turns out alphasort was totally broken. This fixed one works.Eric Andersen2001-05-081-4/+3
| | | | -Erik
* A patch from Jon Nelson <jnelson@securepipe.com> to make scandirEric Andersen2001-05-081-4/+5
| | | | sort things as it is supposed to do.
* Code did not match the prototypes, from what I can tell it should be usingDavid McCullough2001-05-081-4/+4
| | | | size_t as the header files have it already.
* Quick fix to setjmp/longjmp/sigsetjmp etc to make them work.David McCullough2001-05-082-10/+15
| | | | This should really be fixed to fall into line with the other archs.
* Looks like I forgot to commit this.Eric Andersen2001-05-081-1/+1
|
* Fix fwrite return value bug reported by Matthias Kilian ↵Manuel Novoa III2001-05-071-1/+2
| | | | <kili@outback.escape.de>.
* Change FILENAME_MAX to be only 255. Max filename on ext2 is 255,Eric Andersen2001-05-079-36/+39
| | | | | | | 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
* A couple of printf fixes from Johan Adolfsson (johan.adolfsson@axis.com).Manuel Novoa III2001-05-071-23/+31
|
* Add in inet_ntop() and inet_pton() -- ported from glibc 2.2.3Eric Andersen2001-05-041-0/+400
| | | | by Cory Visi <merlin@phear.lwz.org>
* This patch allows powerpc to compile again. It also checks if weEric Andersen2001-05-043-0/+149
| | | | | | 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
* Initial sparc port, thanks to Mathew Bosworth <mbosworth@metaflow.com>,Eric Andersen2001-05-048-2/+445
| | | | | | who sent this to me a month ago and I forgot to check it in. Oops. Better late then never. -Erik
* Clean up some issues for building on m68k.David McCullough2001-05-042-7/+2
|
* Fix up a commentEric Andersen2001-04-281-1/+1
|
* As noted by Michiel Thuys <michiel.thuys@intersil.com>, the weak alias forEric Andersen2001-04-272-2/+2
| | | | | srand was in the wrong file, causing rand.o to be needlessly included in some cases.
* Patch from Tom Walsh <tom@cyberiansoftware.com> to fix a thinkoEric Andersen2001-04-271-1/+2
| | | | on my patch.
* Be really sneaky and use GNU ld special stuff so that whenever folksEric Andersen2001-04-251-0/+1
| | | | | | 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
* As pointed out by Michiel Thuys <michiel.thuys@intersil.com>, this wasEric Andersen2001-04-251-15/+1
| | | | | checking sizeof which was pure bloat and in many cases wrong. -Erik
* Be more strict with the malloc implementation. Return NULLEric Andersen2001-04-251-5/+10
| | | | | when folks do a malloc(0) using malloc-simple. -Erik
* Be more strict with the glibc style malloc implementation. Return NULLEric Andersen2001-04-251-2/+2
| | | | when folks do a malloc(0) using malloc-930716.
* These are needed for arm ld.so support (not at all working yet...)Eric Andersen2001-04-242-0/+73
| | | | -Erik
* Always use __NR_<name>, not SYS_<name>Eric Andersen2001-04-231-3/+3
| | | | -Erik
* Only compile in daemon() if the target has an MMU.Eric Andersen2001-04-232-6/+6
| | | | -Erik
* Use the real getnetbyname(), not the stub in resolv.cEric Andersen2001-04-201-1/+1
|
* Stub out fpathconf() -- FIXMEEric Andersen2001-04-201-0/+30
| | | | -Erik
* Add in a trivial getlogin implementationEric Andersen2001-04-201-0/+48
|
* Add missing header file for daemon.c, add missing functions into unistd.h.Eric Andersen2001-04-202-2/+3
| | | | | | | 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
* Nobody should be using the SYS_ syscall names. Use the __NR_<foo>Eric Andersen2001-04-203-3/+3
| | | | | names instead. -Erik
* getnetbyname.o, res_init.o and res_query.o were missing from the Makefile,Eric Andersen2001-04-201-1/+3
| | | | patch thanks to John Hall <John.Hall@optionexist.co.uk>
* Remove the old crypt implementationEric Andersen2001-04-191-1/+1
|
* Bring sh and i386 longjmp implementations into syncEric Andersen2001-04-193-46/+14
|
* Add missing alias siglongjmp = longjmp;Eric Andersen2001-04-191-0/+9
| | | | -Erik
* Remove all the __THROW macrosEric Andersen2001-04-1911-51/+51
|
* Posix 1003.13 POSIX_MULTI_PROCESS specifies that execle() shouldEric Andersen2001-04-181-0/+53
| | | | | be there, so I just wrote it up. -Erik
* Add missing time()Eric Andersen2001-04-182-1/+39
|
* Update temp file handling and use a single function to do allEric Andersen2001-04-188-159/+355
| | | | | the heavy lifting (most of the heavy lifting stolen from glibc, but reduced a bit).
* Fix up more leftovers resultant from fixing _LIBCEric Andersen2001-04-061-2/+39
|
* Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen2001-04-0655-101/+165
| | | | | | | 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
* Get the full set of module creating syscalls in place.Eric Andersen2001-04-053-2/+74
| | | | -Erik
* Add in delete_moduleEric Andersen2001-04-051-12/+17
| | | | -Erik
* Add missing function sigfillset.Manuel Novoa III2001-04-042-1/+39
|
* Accomodate mmuless systems.Eric Andersen2001-04-031-0/+9
|