summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2002-02-26A few more little cleanupsEric Andersen
2002-02-26Don't redefine stuffEric Andersen
2002-02-26Be consistant and use an unsigned char * throughoutEric Andersen
2002-02-26don't pretend to be reentrant yetEric Andersen
2002-02-26Fix redefine problemEric Andersen
2002-02-26Fix redefinition problemEric Andersen
2002-02-26Give the label a ; so compilers have no excuse to whineEric Andersen
2002-02-26Patch from Miles Bader to restrict common truncate64/ftruncate64Eric Andersen
syscalls to 64-bit systems, since we can't be sure that the _syscall macros can cope with 64 bit args on 32 bit arches.
2002-02-26Proper support for setting h_errnoEric Andersen
2002-02-26Fix rpc + threads so it now compiles.Eric Andersen
2002-02-26Thomas Fritzsche noticed that __open_etc_hosts was only changing aEric Andersen
local copy of the FILE pointer, thereby causing /etc/hosts lookups to fail with Resolver errors. This patch from Thomas fixes the problem.
2002-02-26Enable pread/pwriteEric Andersen
2002-02-25I shouldn't try to program when sleepy, since I totally botchedEric Andersen
the fcntl interface... -Erik
2002-02-25When messing with fd NONBLOCK status, put things back the way we foundEric Andersen
them afterwards. As was, this hosed things up for fds shared with a parent process. Very bad for shells... Oops. -Erik
2002-02-25Try this version instead...Eric Andersen
2002-02-23Support isblank()Eric Andersen
2002-02-23IEEE Std 1003.1-2001 says that the "fclose() function shall fail [with]Eric Andersen
EINTR [when] the fclose() function was interrupted by a signal". But looking in the current uClibc stdio.c for some bizarre reason we had a special case where when errno was EINTR, we would keep on trying instead. Doh! Fix that, -Erik
2002-02-23Several naming cleanups so threads work properly againEric Andersen
2002-02-23Per discussion with Manuel, when we call __stdio_flush_buffersEric Andersen
from abort() and from _exit(), we need to ensure that flushing will not cause us to block. So use fcntl to set the fd's to non-block mode...
2002-02-22Several mips fixes from Geoffrey Espin. With these, busybox withEric Andersen
ash/vi/etc now works just fine with uClibc on mips.
2002-02-21When vfork is not available and we have an MMU, then use fork()Eric Andersen
-Erik
2002-02-21Miles Bader noticed that I'd messed up by always pullingEric Andersen
errno in, regardless of whether it is being used... -Erik
2002-02-20Fix from John Rigby to fix stat() so it actually works.Eric Andersen
2002-02-20oops. I had accidentally typed in "clean" when I meant "clone".Eric Andersen
This fix makes pthreads actaully work on powerpc. -Erik
2002-02-20This is a bit less messyEric Andersen
2002-02-20Merge in the pthread library. This is the linuxthreads library taken fromEric Andersen
glibc 2.1.3 and ported to work with uClibc by Stefan Soucek and Erik Andersen (me). Stefan has hacked things up such that linuxthreads runs on MMU-less systems (tested only on arm-nommu). Erik cleaned things up and made it work properly as a shared library. -Erik
2002-02-19Output an error if uClibc's and app's largefile configuration are incompatible.Manuel Novoa III
2002-02-19Doh! Miles Bader noticed a couple of spots where I forgotEric Andersen
to mark __stdio_flush_buffers with weak_function. Oops!
2002-02-18Rename __stdio_close_all to __stdio_flush_buffers. Eliminate anEric Andersen
unnecessary variable
2002-02-18Doh!Eric Andersen
2002-02-18Miles Bader writes:Eric Andersen
Programs that don't use stdio crash in the `exit' function, because they call through the pointer__uClibc_cleanup, which has a value of 0. It has a value of 0 because __uClibc_main.c initializes it to the address of `__stdio_close_all', which is a weak symbol (and so is 0 if stdio is not used). This patch from Miles fixes it, though we need to audit __stdio_close_all usage to be sure...
2002-02-18Make shared libs properly list the correct ld.so in the interpEric Andersen
field by being sneaky.
2002-02-18Support strong_alias and begin merging usage of weak_functionEric Andersen
2002-02-16Use sizeof(sa_mask) instaed of sizeof(sigset_t) since sa_mask isEric Andersen
not always a sigset_t... Fix from Geoffrey Espin.
2002-02-16Several mips cleanups/additons from Geoffrey Espin.Eric Andersen
2002-02-16Patch from Yoshinori Sato <qzb04471@nifty.ne.jp> to fix upEric Andersen
ptrace for the Hitachi h8300
2002-02-13Fix missing longjmp symbolEric Andersen
2002-02-13Fix copyright messageEric Andersen
2002-02-13A number of naming updates in preparation for adding inEric Andersen
proper threading. Most of this is from Stefan Soucek, with additions and changes as needed from me.
2002-02-12Mark Robson noticed that our strcasecmp() behaviour was notEric Andersen
standards compliant. Brian Stafford then provided these new implementations, which apprear to properly follow SUSv2. -Erik
2002-02-11HAVE_SA_RESTORER is supposed to be true, not false, on most arches.Eric Andersen
-Erik
2002-02-06Add in clone (untested)David McCullough
Fix up setjmp/longjmp which were quite broken not withstanding all the new versions. Needs a little more test time before I'll trust this code totally.
2002-02-05Fix __adjtimex symbolEric Andersen
2002-02-05OOps.Eric Andersen
2002-02-05use X/Open __sysv_signal name, then use the weak name for sysv_signalEric Andersen
-Erik
2002-02-04Fix naming error in brk.c, enable faster malloc by defaultEric Andersen
2002-02-04Fixup mips so it now works and provides basic functionalityEric Andersen
2002-02-04Rework powerpc to be consistant with the other arches.Eric Andersen
-Erik
2002-02-04Fix pathEric Andersen
2002-02-04Adjust sparc port do it now actually works.Eric Andersen
-Erik