summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2002-03-14Do not enable debugging for initfini.s and friends. Won't work anyways.Eric Andersen
-Erik
2002-03-14Add implementations of strtof() and strtold(). These are a bitEric Andersen
lame, since internally I'm just using strtod, but that keeps things small, and has the side effect of making these easy to write. -Erik
2002-03-14This should be the last piece needed to make constructors work (usingEric Andersen
a native gcc toolchain). The gcc wrapper still needs some touchups, but we seem to be _there_. Also some touchups to try and shrink uclinux binary sized by stubbing out unneeded stuff. -Erik
2002-03-14Add some symbols needed for C++ to work. Temporary hack...Eric Andersen
2002-03-14I vow to rerun _all_ the tests before making commits. :-(Manuel Novoa III
I successfully managed to blow away all the modeflags for the file _except_ the one dealing with buffering...
2002-03-13Build our own crti.o and crtn.o with a cross arch method that IEric Andersen
can live with much better the what glibc does. -Erik
2002-03-13Merge in an ugly pile of rand* functions from glibc. :(Eric Andersen
2002-03-13Modified because of the new str to int funcs.Manuel Novoa III
2002-03-13New versions of the various string to int functions which are smallerManuel Novoa III
than the old ones, even with errno setting turned on now. Also, at least on i386, we no longer need the long long helper functions for division and mod from libgcc.a.
2002-03-13Fix stdin/stdout initialization of buffering type. I had changed theManuel Novoa III
default static initiailization and forgotten to update _stdio_init().
2002-03-13Oops... forgot to update abort.c.Manuel Novoa III
2002-03-13Apply Miles Bader's missing __va_copy() fix.Manuel Novoa III
2002-03-12Fix another O_LARGEFILE bug. Also, I forget to make floating point optionalManuel Novoa III
in the new printf code.
2002-03-12So much for fcntl flags being resonably consistent across archs... (hopefully)Manuel Novoa III
fix O_APPEND and O_LARGEFILE handling in _stdio_fopen(). Someone else will have to check of course...
2002-03-12Fix fflush(NULL) and tweak _stdio_term() for the unbuffered stdio option.Manuel Novoa III
2002-03-12Oops.. had left thread support forced on.Manuel Novoa III
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...