summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2003-06-27Mention that the common mmap64 is a stub and must be overriddenEric Andersen
on a per arch basis using platform specific code
2003-06-27Add missing madvise syscallEric Andersen
2003-06-27Per a patch from Rob McMullen, add getprotoent_r, getprotobyname_r,Eric Andersen
and getprotobynumber_r
2003-06-24Change 'undefined behavior' of fflush() on readonly or reading streamsManuel Novoa III
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.
2003-06-17Optionally support the struct tm extension fields.Manuel Novoa III
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.
2003-06-17Patch from Ronald Wahl fixing an IPV6 specific problemEric Andersen
with getaddrinfo().
2003-06-16As noted by Peter S. MazingerEric Andersen
After removal of stropts.h none of the files references bits/stropts.h, so it can be removed. Peter
2003-06-16Add memmem().Manuel Novoa III
2003-06-15Implement syscall() for powerpc. Fixup syscall code soEric Andersen
it compiles properly with gcc 3.3. -Erik
2003-06-11Fix arm syscall implementation so it does not blow chunks with gcc 3.3Eric Andersen
-Erik
2003-06-05Patch from Peter S. Mazinger to make the get-needed-libgcc-objectsEric Andersen
script work with newer binutils versions.
2003-06-03Kill the runtime fallback to fork and make it be compile timeEric Andersen
2003-06-03Fix brokenEric Andersen
2003-05-30Clone still had a few little PIC problems....Eric Andersen
2003-05-30In a number of places we erroneously used tests such as '#ifdef PIC' when weEric Andersen
should instead have been testing for '#ifdef __PIC__'. This resulted in NON-PIC code getting mixed into the shared library. Oops!!! -Erik
2003-05-23Sorry. Changed this while fixing the last bug and forgot to change itManuel Novoa III
back. Unfortunately, none of my test cases caught it.
2003-05-15Fix (hopefully) scanf behavior for nul bytes in the stream when processingManuel Novoa III
%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.
2003-05-14Sleep was returning the wrong value because:David McCullough
* 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>
2003-05-08(__libc_open): Fix wacky indentation.Miles Bader
2003-05-01setjmp was trashing r12 which is bad and can cause apps to crash if they areDavid McCullough
using r12. r12 is supposed to be preserved across C function calls. r0-r7 are trashable :-)
2003-04-29Some small fixups for the h8 support and add the h8s platform support.David McCullough
2003-04-29Fixup __libc_open to use varargs and match the prototype.David McCullough
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.
2003-04-29uClibc 0.9.19 has a bug in globfree(). If the previous call toEric Andersen
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
2003-04-23Thierry De Corte notices that when UCLIBC_HAS_FLOAT is disabled, we must alsoEric Andersen
disable drand48, drand48_r, erand48, and erand48_r since they use floats.
2003-04-21Fix SIGTRAP handling on arm. The defination of struct ucontext,Eric Andersen
which was copied from glibc, is wrong. So fix it. -Erik
2003-04-19Patch from Marshall M. Midden:Eric Andersen
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.
2003-04-19Konrad Taro Eisele noticed the sparc struct stat was broken.Eric Andersen
Fix it.
2003-04-16Patch from Liam Girdwood to fix mips profiling when usingEric Andersen
newer gcc versions.
2003-04-02(free_to_heap): Unlock the heap before returning in theMiles Bader
__UCLIBC_UCLINUX_BROKEN_MUNMAP__ case. Fix from YYang1@Winbond.com.tw.
2003-03-11sjhill needs to buy donuts for everyoneEric Andersen
2003-03-11Compliance with MIPS ABI and MIPS kernel changes."Steven J. Hill"
2003-03-07Patch from Stefan Allius:Eric Andersen
fix a couple of gcc 3.3 compiler warnings in gmon.c
2003-03-06For now, leave mmap on mips using mmap1, since mmap2 seemsEric Andersen
to have 'issues' (i.e. it doesn't work 100% properly). -Erik
2003-03-06Finish off gmon based profiling for powerpcEric Andersen
2003-03-06Make profiling on arm workEric Andersen
2003-03-06Patch from Stefan Allius to finish off the last required bitsEric Andersen
for gmon profiling support for the SuperH target.
2003-03-05The vfork system call on powerpc seems to be completelyEric Andersen
broken. Use fork instead, per glibc behavior.
2003-03-05Default to using fork() for vfork() when no arch specificEric Andersen
implementation of vfork is present.
2003-03-04Fix compile when profiling is disabledEric Andersen
2003-03-03Initial effort at adding profiling support.Eric Andersen
2003-03-03Remove bogus link_warning. It is meaningless and stupid. While theManuel Novoa III
previous committed patch was well-meaning, the #warning it replaced was simply a reminder I accidently left in when implementing strcoll/wcscoll. Besides, strcmp is completely locale invariant.
2003-03-03Fix the double sub #48, should have been an add :-)David McCullough
2003-03-02cut-n-paste strikes againEric Andersen
2003-03-02Add missing alias __modify_ldtEric Andersen
2003-03-01Patch from Jeffrey Damick:Eric Andersen
With glibc if you do a res_init() that forces a reread of the nameservers file, but in uClibc the res_init will not force a reread if it has already read the file because then the nameservers value is greater than 0. So res_init must call close_nameservers() before calling open_nameservers().
2003-02-27Major update for pthreads, based in large part on improvementsEric Andersen
from glibc 2.3. This should make threads much more efficient. -Erik
2003-02-26Prefer mmap2 for mips when available. Fix the mmap test.Eric Andersen
-Erik
2003-02-24Fixup some small issues that show up when large file support is disabledEric Andersen
2003-02-23Fix FP handling alignment problems on ARM platforms without an FPU,David McCullough
patch from Vadim Lebedev <vadim@7chips.com>.
2003-02-23Some stuff I forgot to check in about a month ago...Eric Andersen
-Erik