summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* use some #defines internal to the ctype functions to eliminate themEric Andersen2001-08-141-0/+32
| | | | | | | calling other tiny ctype functions. Now all ctype funcs will end up with no extern references, which ends up shrinking both the uClibc shared lib and shrinking client code. -Erik
* I just wrote a stpncpy() since someone wanted itEric Andersen2001-08-112-1/+18
|
* I rewrote strcat without any function calls.Eric Andersen2001-08-111-1/+9
|
* Add cmsg_nxthdr function for the cases where the headersDavid McCullough2001-08-092-1/+41
| | | | do not so it inline.
* Add in changes from philipc@lineo:David McCullough2001-08-091-12/+15
| | | | | | | | | | | | | | | Fix three bugs and bring into line with glibc: 1. The first character read using getc() was being ignored if it was EOF. Normally this is okay because the next getc() returns EOF as well, but for sscanf, this was causing us to skip the null terminator and start scanning whatever happened to be next in memory. 2. %s, %c, and %[ formats now return -1 if EOF is reached before any characters are read, instead of 0. This was causing an infinite loop in diald. 3. Default to base 10 for %i fields if not prefix modifier present.
* Added sigset_t casts so we behave like the other platforms.David McCullough2001-08-091-6/+6
|
* Fix a couple of warningsDavid McCullough2001-08-091-2/+2
|
* Make sure the weak aliases are defined before the functions/varsDavid McCullough2001-08-091-14/+14
| | | | | they use as stubs, otherwise, some compilers (ie., m68k-elf) tie them to the local symbols and the weak aliases do not work.
* This syncs things up with my local tree. Mainly changes installerEric Andersen2001-08-081-4/+1
| | | | | | issues, and syns things (as far as I am willing) with Dave Schleef's tree. We may need to go another round or so, but we do seem to be converging...
* Fixup the pipe system call for the SH target.David McCullough2001-08-063-1/+36
| | | | The FD's are returned in registers.
* Oops... left in a debugging line.Manuel Novoa III2001-07-281-1/+0
|
* Back out the changes to _uClibc_fread and loop in fread() if incomplete, toManuel Novoa III2001-07-281-22/+21
| | | | | | | | | | avoid problems with fgets on tty streams. I actually did some testing this time. ;-) Note: there is a difference in behavior between glibc and uClibc here regarding fread() on a tty stream. glibc's fread() seems to return after reading all _available_ data even if not at end-of-file, while uClibc's fread() continues reading until all requested or eof or error. The latter behavior seems correct w.r.t. the standards.
* Yes... the previous "fix" was broken too... the result of careless cuttingManuel Novoa III2001-07-261-1/+1
| | | | and pasting while pressed for time. I haven't checked this one either. :-(
* Ok... the fix wasn't quite so straightforward. Hopefully this will do it.Manuel Novoa III2001-07-251-0/+3
|
* Fix fread bug reported by Vodz. The fix is straightforward, but I haven'tManuel Novoa III2001-07-251-11/+13
| | | | tested it (lack of time).
* use ln -fsEric Andersen2001-07-161-1/+1
|
* PowerPC has a different kernel interface for termios. Grrr...David Schleef2001-07-131-0/+22
|
* The previous termios.h strongly appeared to be from a differentDavid Schleef2001-07-131-131/+199
| | | | architecture.
* Added __BEGIN_DECLS and __END_DECLS to the files that didn't haveDavid McCullough2001-07-1139-2/+133
| | | | | | it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
* Fixup the atexit weak alias for elf, need to include <features.h> toDavid McCullough2001-07-111-1/+5
| | | | get the correct value for the HAVE_ELF define.
* A patch from Michal Moskal <malekith@pld.org.pl> to includeEric Andersen2001-07-093-2/+152
| | | | | partial IPV6 support. This adds things like gethostbyname2(). Off by defaut, of course,
* Workaround an old m68k-coff compiler problemEric Andersen2001-07-091-0/+2
|
* Fix strxfrm, which was broken (thanks to Shaya Potter <spotter@us.ibm.com>Eric Andersen2001-07-061-2/+4
| | | | | for noticing, and cleanup a warning. -Erik
* Added stpcpy and strcasestr along with some code to test them.David McCullough2001-07-043-11/+51
|
* remove bits/syscall.h when cleaningDavid Schleef2001-07-031-0/+1
|
* Autogen include/bits/syscall.h for ARMEric Andersen2001-07-033-197/+2
| | | | -Erik
* Get rid of warning messages and spurious diffsDavid Schleef2001-07-031-0/+1
|
* Need to include sys/syscall.h because of other changesDavid Schleef2001-07-031-0/+1
|
* It is now autogeneratedDavid Schleef2001-07-031-196/+0
|
* Fix to autogen bits/syscall.h, like i386David Schleef2001-07-031-1/+2
|
* These zero-length files apparently weren't deleted from cvs.Manuel Novoa III2001-07-012-0/+0
|
* Add syscalls.h for ARMEric Andersen2001-06-301-0/+119
|
* Changes for new auto-generated syscall.hDavid McCullough2001-06-283-199/+4
|
* Changes to support autogenerated syscall.hDavid McCullough2001-06-283-227/+2
|
* sysdep.h was not providing all the needed bits to build working asm withDavid McCullough2001-06-283-35/+12
| | | | | | | | | | some compilers, so define any macros we need that are not defined already. Needed to include uClibc_config.h to get some defines. New syscall header files for _mmap vfork.c is not used so ditch it.
* Added a script to create bits/syscall.h for each arch.Manuel Novoa III2001-06-288-451/+82
| | | | | | | | | | | NOTE!!! This is run by "make -C libc/sysdeps/linux/$(TARGET_ARCH) headers" in the main Makefile, but I only changed libc/sysdeps/linux/i386/Makefile as I had no way of testing it for the other archs. Various arch maintainers, please check and update the corresponding Makefile... or report bugs ;-)... appropriately. You'll also want to "cvs del" syscall.h and add it to a .cvsignore in $(ARCH)/bits. Also added a define to uClibc_config.h, __UCLIBC_USE_UNIFIED_SYSCALL__, and moved i386 unified syscall stuff out of common and into i386/bits/syscalls.h.
* the minimum needed for nowDavid McCullough2001-06-271-0/+4
|
* Added this guy, nothing needed here really.David McCullough2001-06-271-0/+8
|
* Remove nonstandard functions.Manuel Novoa III2001-06-272-89/+1
|
* Remove obsolete files tell.c and getdents.cManuel Novoa III2001-06-273-132/+3
|
* Stub out an initial version. Manuel will be writingEric Andersen2001-06-271-0/+229
| | | | some code to autogenerate this stuff...
* Step one in a process to ween ourselves off of using asm/unistd.h.Eric Andersen2001-06-271-1/+79
| | | | | This will break the build for a bit. -Erik
* Make these PIC and _LIBC_REENTRANT compatible.Manuel Novoa III2001-06-272-8/+89
|
* Yes... I forgot to update bits/dirent.h for the other archs. :-(Manuel Novoa III2001-06-276-12/+66
|
* ANSI/ISO specifies that no library function sets errno to 0.Manuel Novoa III2001-06-261-2/+0
|
* Looks like we lost clearing errnoEric Andersen2001-06-261-0/+2
|
* Remove simulated d_type support for getdents and the dirent struct, and useManuel Novoa III2001-06-255-19/+17
| | | | the straight getdents syscall instead of the wrapper (which leaked memory).
* Add in missing syscalls.h for powerpcEric Andersen2001-06-251-0/+180
|
* Fixed vfork so the child doesn't trash the parents return address.David McCullough2001-06-253-27/+35
|
* This adds in support for PIC on x86. Unfortunately, this will breakEric Andersen2001-06-231-0/+81
| | | | | | all arches till they add in an libc/sysdeps/linux/<arch>/bits/syscalls.h file. Sorry about there, there was no other way... -Erik