summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Add in daemon.c, now used by busybox.Eric Andersen2001-04-032-1/+96
| | | | -Erik
* It seems ARM 2.4.x kernels do not have iopl. Also add missingEric Andersen2001-03-302-1/+88
| | | | | bits/sem.h for ARM so everything now compiles and runs. -Erik
* Bug fix from Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>.Manuel Novoa III2001-03-231-0/+7
|
* Add in random(), make rand use that under the hood. Fix theEric Andersen2001-03-223-57/+58
| | | | include file so folks know random is now there.
* Stub out localeconv. Please look over this to check it is correct....Eric Andersen2001-03-213-9/+58
| | | | | | | | 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
* Fix from Jon Nelson for error in timezoneEric Andersen2001-03-201-1/+1
| | | | -Erik
* Add missed dependency. TODO: Should build gen_sysconf when cross-compiling.Manuel Novoa III2001-03-201-1/+1
|
* Fix longjmp on i386. Also adds siglongjmp.Manuel Novoa III2001-03-204-2/+122
|
* Put regex back inEric Andersen2001-03-201-1/+1
|
* Add an empty DIRS target incase it gets inherited from the env.David McCullough2001-03-201-0/+2
|
* I think this fixes the dependancy problems. Manuel, can youEric Andersen2001-03-201-4/+12
| | | | | double check that this is what you intended? -Erik
* Add in the timezone global from time.h, from a patch byEric Andersen2001-03-191-0/+5
| | | | Jon Nelson <jnelson@boa.org>
* Add in alphasort (working fine) and scandir (just a stub for now).Eric Andersen2001-03-193-1/+90
| | | | -Erik
* Move the dirent stuff. I suppose it is system dependant, but thenEric Andersen2001-03-1911-6/+348
| | | | | it really should be grouped together too. And it needed to be grouped more then it needed to be in sysdeps/linux/common
* Add in the sysvipc patch from Michael ShmulevichEric Andersen2001-03-197-8/+327
|
* Add sigintr, from a patch by Michael ShmulevichEric Andersen2001-03-192-1/+58
|
* Sync with glibc i386 bits.Eric Andersen2001-03-193-4/+4
|
* Put weak symbols where they can find what they are aliasing. Clean up strcspn.cManuel Novoa III2001-03-193-23/+3
|
* Sync i386 up with _all_ the glibc 2.1.3 include/bits headers,Eric Andersen2001-03-1929-0/+5529
| | | | | | since we will end up needing a few more of them anyways, and all the other arches have the full set anyways. -Erik
* With the Official Declaration of coff being dead, we canEric Andersen2001-03-191-12/+3
| | | | | forget about wrapper functions and just use weak symbols. -Erik
* Since Erik apparently wants def/undef vs def 1/0...Manuel Novoa III2001-03-194-37/+37
|
* Fix up breakage resulting from flipping the sense of some defines. Change fromEric Andersen2001-03-193-15/+17
| | | | | | | | defining things to "0" in the disabled case to outright undefining them, lest code that does an "#ifdef FOO" get inadvertantly triggered. Remove now unneeded lines from Rules.mak which makes the command line smaller and avoids redundancy (since this stuff is now pulled in via features.h). -Erik