summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2002-03-12Fix a segfault in scandir for empty directories. After looking overEric Andersen
our version, I'm adopting the scandir from glibc (with minor changes) instead as it seems simpler and already correct.
2002-03-12Fixup redefinition of NL_ARGMAXEric Andersen
2002-03-12Deal with cvs "feature"... or is that cvs _user_...Manuel Novoa III
2002-03-12Swap in the new stdio code.Manuel Novoa III
2002-03-09Avoid forced -lpthread lnkage when threading is enabledEric Andersen
2002-03-05Remove sys/io.h include, since not everyone has itEric Andersen
2002-03-05Initial checkinMiles Bader
2002-03-05Re-add files which were mistakenly deleted during the big bits/ update.Miles Bader
2002-03-05Remove extraneous fileMiles Bader
2002-03-02Remove generated stuff, restore sh/sys/procfs.h from M. R. BrownEric Andersen
2002-03-01Move syscall.h generation to the top level MakefileEric Andersen
-Erik
2002-03-01Patch from Miles Bader to allow Large File support on the v850.Eric Andersen
2002-03-01Fix for some comments, from Miles BaderEric Andersen
2002-03-01Patch from M. R. Brown <mrbrown@0xd6.org> to fix pthread supportEric Andersen
for SH, and fix vfork
2002-03-01Major rework of the include files to eliminate redundancyEric Andersen
and to better support each arch. This is a really big patch... -Erik
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