summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a couple of typosEric Andersen2003-06-271-2/+1
|
* ret could have been used uninitialized in one caseEric Andersen2003-06-272-2/+2
|
* Revenge of the TypoEric Andersen2003-06-271-1/+1
|
* Yet more cleanup for the reentrant pwd/grp functions so theyEric Andersen2003-06-279-20/+55
| | | | should now actually be doing the right thing
* Fixup errno handlingEric Andersen2003-06-2713-55/+93
| | | | -Erik
* Do not let isatty mess up errnoEric Andersen2003-06-271-3/+11
|
* Cleanup a couple of ugly bitsEric Andersen2003-06-271-6/+4
|
* Implement mmap64 for armEric Andersen2003-06-272-1/+80
|
* add mmap64 for i386Eric Andersen2003-06-272-1/+113
|
* oops. Fix the name so it is "mmap64", not "__mmap64"Eric Andersen2003-06-271-2/+3
|
* Actually, some arches do support _syscall6, so implement a generic versionEric Andersen2003-06-271-7/+36
| | | | | for them... -Erik
* Mention that the common mmap64 is a stub and must be overriddenEric Andersen2003-06-271-0/+7
| | | | on a per arch basis using platform specific code
* Add missing madvise syscallEric Andersen2003-06-271-0/+6
|
* Per a patch from Rob McMullen, add getprotoent_r, getprotobyname_r,Eric Andersen2003-06-271-20/+74
| | | | and getprotobynumber_r
* Change 'undefined behavior' of fflush() on readonly or reading streamsManuel Novoa III2003-06-241-8/+18
| | | | | | | to match that of current glibc; i.e. don't do anything and return success. Apparently, php calls fflush() on a file opened as readonly before trying to read. Eventually I'll add some config options to flag this and several other instances of nonportable code.
* Optionally support the struct tm extension fields.Manuel Novoa III2003-06-172-12/+40
| | | | | | | Add a few misc functions mentioned in time.h. Revert davidm's change regarding using a define for the "/etc/TZ" path, as this is eventually meant to be a configurable extension and not unconditionally supported.
* Patch from Ronald Wahl fixing an IPV6 specific problemEric Andersen2003-06-171-2/+2
| | | | with getaddrinfo().
* As noted by Peter S. MazingerEric Andersen2003-06-161-227/+0
| | | | | | | After removal of stropts.h none of the files references bits/stropts.h, so it can be removed. Peter
* Add memmem().Manuel Novoa III2003-06-162-1/+35
|
* Implement syscall() for powerpc. Fixup syscall code soEric Andersen2003-06-154-14/+61
| | | | | it compiles properly with gcc 3.3. -Erik
* Fix arm syscall implementation so it does not blow chunks with gcc 3.3Eric Andersen2003-06-112-9/+25
| | | | -Erik
* Patch from Peter S. Mazinger to make the get-needed-libgcc-objectsEric Andersen2003-06-051-2/+3
| | | | script work with newer binutils versions.
* Kill the runtime fallback to fork and make it be compile timeEric Andersen2003-06-031-19/+9
|
* Fix brokenEric Andersen2003-06-031-44/+46
|
* Clone still had a few little PIC problems....Eric Andersen2003-05-301-39/+84
|
* In a number of places we erroneously used tests such as '#ifdef PIC' when weEric Andersen2003-05-308-15/+15
| | | | | | should instead have been testing for '#ifdef __PIC__'. This resulted in NON-PIC code getting mixed into the shared library. Oops!!! -Erik
* Sorry. Changed this while fixing the last bug and forgot to change itManuel Novoa III2003-05-231-1/+1
| | | | back. Unfortunately, none of my test cases caught it.
* Fix (hopefully) scanf behavior for nul bytes in the stream when processingManuel Novoa III2003-05-152-7/+23
| | | | | | | %c, %s, and %[ specifiers. Note that scanf is undergoing rewrite so I didn't bother optimizing this. I did run all my regression tests though. Set EOF correctly for fmemopen on readonly streams. I really need to check what glibc behavior is for the various open modes though.
* Sleep was returning the wrong value because:David McCullough2003-05-141-2/+4
| | | | | | | | | * nanosleep returns the remaining time, not the time slept * nanosleep only fills out the remaining time if it returns -1 (ie., the sleep was interrupted) Fix from Paul Dale <pauli@snapgear.com>
* (__libc_open): Fix wacky indentation.Miles Bader2003-05-081-6/+6
|
* setjmp was trashing r12 which is bad and can cause apps to crash if they areDavid McCullough2003-05-011-3/+3
| | | | | using r12. r12 is supposed to be preserved across C function calls. r0-r7 are trashable :-)
* Some small fixups for the h8 support and add the h8s platform support.David McCullough2003-04-293-4/+18
|
* Fixup __libc_open to use varargs and match the prototype.David McCullough2003-04-291-2/+7
| | | | | On the H8 varargs are rather unusual and if you declare a function with varargs, it had better use them or it won't work.
* uClibc 0.9.19 has a bug in globfree(). If the previous call toEric Andersen2003-04-291-2/+2
| | | | | | | | | | | glob(...,pglob) used the GLOB_DOOFFS flag to reserve the first pglob->gl_offs slots of pglob->gl_pathv, globfree(pglob) would attempt to free the objects pointed to by those slots. If those objects were not on the heap, the system would crash. The attached patch fixes this. Norm
* Thierry De Corte notices that when UCLIBC_HAS_FLOAT is disabled, we must alsoEric Andersen2003-04-231-5/+4
| | | | disable drand48, drand48_r, erand48, and erand48_r since they use floats.
* Fix SIGTRAP handling on arm. The defination of struct ucontext,Eric Andersen2003-04-211-8/+7
| | | | | which was copied from glibc, is wrong. So fix it. -Erik
* Patch from Marshall M. Midden:Eric Andersen2003-04-191-33/+39
| | | | | | It turns out that uClibc's syslog.c does not close sockets when doing retries and when it exits due to errors. This patch fixes it.
* Konrad Taro Eisele noticed the sparc struct stat was broken.Eric Andersen2003-04-191-22/+18
| | | | Fix it.
* Patch from Liam Girdwood to fix mips profiling when usingEric Andersen2003-04-161-0/+5
| | | | newer gcc versions.
* (free_to_heap): Unlock the heap before returning in theMiles Bader2003-04-021-2/+5
| | | | __UCLIBC_UCLINUX_BROKEN_MUNMAP__ case. Fix from YYang1@Winbond.com.tw.
* sjhill needs to buy donuts for everyoneEric Andersen2003-03-111-1/+0
|
* Compliance with MIPS ABI and MIPS kernel changes."Steven J. Hill"2003-03-112-17/+2
|
* Patch from Stefan Allius:Eric Andersen2003-03-072-3/+7
| | | | fix a couple of gcc 3.3 compiler warnings in gmon.c
* For now, leave mmap on mips using mmap1, since mmap2 seemsEric Andersen2003-03-061-0/+5
| | | | | to have 'issues' (i.e. it doesn't work 100% properly). -Erik
* Finish off gmon based profiling for powerpcEric Andersen2003-03-063-4/+120
|
* Make profiling on arm workEric Andersen2003-03-062-2/+15
|
* Patch from Stefan Allius to finish off the last required bitsEric Andersen2003-03-063-29/+90
| | | | for gmon profiling support for the SuperH target.
* The vfork system call on powerpc seems to be completelyEric Andersen2003-03-051-3/+9
| | | | broken. Use fork instead, per glibc behavior.
* Default to using fork() for vfork() when no arch specificEric Andersen2003-03-052-1/+9
| | | | implementation of vfork is present.
* Fix compile when profiling is disabledEric Andersen2003-03-041-1/+1
|