summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2001-03-05stat and mknod cleanup, take two. Put all the needed junk into syscalls.cEric Andersen
for clarity. -Erik
2001-03-05Fix up some long standing iterative symbol usage problem, noticed today byEric Andersen
Michael Shmulevich, which was caused by the grafting in of GNU libc header files. -Erik
2001-03-05Patch from Michael Shmulevich (michaels@jungo.com) -- functions were notManuel Novoa III
declared type function.
2001-03-05Patch from Jean-Yves Avenard to move the getopt globals to theirEric Andersen
own file, since at least on SH, weak variables with initial values (.data stuff) were not working. Moving these to their own file seems to be a good way to handle it.
2001-03-04Fixed vfork on i386. Reduced size of __uClibc_syscall.Manuel Novoa III
2001-03-03Fix a couple of bugs: check mode is legal; open file and check success beforeManuel Novoa III
calling vfork.
2001-03-03strtok_r.c was not being compiled in, so fix that.Eric Andersen
2001-03-01Stupid buglet fix. Don't trash FILE bufstart if buffer allocation fails.Manuel Novoa III
2001-03-01Added __strtok_r function. Change strtok to a wrapper around __strtok_r andManuel Novoa III
add a weak alias of __strtok_r for strtok_r since optional. Also reduced code size.
2001-02-28Fix a buglet regarding floating point output for ?nprintf functions.Manuel Novoa III
2001-02-27stdio mostly rewritten... passes lots of tests now.Manuel Novoa III
printf now supports long double, plus some bug fixes.
2001-02-27For some reason the fancy attribute tags were not working on m68k soDavid McCullough
I followed environ example which uses asm and it seemed to fix the problem nicely. It should be ok on i386. Could some check it please :-)
2001-02-26New crt0.S with all init done in 'C' code.David McCullough
Added in support for C++ contructor/destructor tables.
2001-02-26Reduced the size of sigsets to the minimal needed. Apart from the size,David McCullough
it has the added advantage of giving the C++ build of m68k-elf-gcc a clean bill of health.
2001-02-26Added /etc/hosts processing (parses everytime like a real one :-)David McCullough
Added support for multiple nameserver lines, still supports multiple servers on a on single line. Added "domain" entry. domain and search are mutually exclusive and override each other (the last one wins, see the resolver(5) man page). Added dummy "getnetbyname" that returns fail. Added "res_init" and "res_query".
2001-02-26Added "psignal" functionDavid McCullough
2001-02-23Update arm for the new way of entering main. BTW, I can now run things on armEric Andersen
as a shared library, using the glibc shared lib loader. :-) I've updated the pic case but havn't tested it yet. -Erik
2001-02-23Sigh. Turn debugging back off.Eric Andersen
2001-02-23This is a touch cleaner, avoids using the comma operator.Eric Andersen
2001-02-23This actually fixes things I believe.Eric Andersen
2001-02-23Let system dependant things override common things.Eric Andersen
2001-02-23Fix two bugs. First, gethostbyname was doing dns queries when given an IPEric Andersen
address. Secondly, when doing reverse dns lookups, it was appending the domain, even if a domain was already attached. -Erik
2001-02-22div and ldiv are required for ISO 9899Eric Andersen
-Erik
2001-02-22Patch from Jean-Yves Avenard to add missing siglongjmp entry andEric Andersen
fix a bug in setjmp for SH
2001-02-21Update to "malloc" so it will work on CPUs not supporting non-aligned words.Eric Andersen
malloc still only works for little-endian CPUs... Patch by Jean-Yves Avenard
2001-02-21Add an SH port done by Jean-Yves Avenard of Hewlett-Packard - EmbeddedEric Andersen
and Personal Systems. Thanks! -Erik
2001-02-19Fix a couple of bugs in _fopen and fclose, plus change a few internals.Manuel Novoa III
2001-02-19Have isatty call ioctl directly rather than tcgetattr; especially since anyManuel Novoa III
program using stdio will call isatty during initialization.
2001-02-19Make sure errno is 0 before we call main (may have been set while initializing).Manuel Novoa III
2001-02-19Remove redundant old isatty.c since newer termios supplies one.Manuel Novoa III
2001-02-19Lots of stdio cleanups. Several bug fixes, addition of a number of functionsManuel Novoa III
to supplement macros in stdio.h, change perror to use stdio package instead of "write". Also add back in weak stdio initialization for static lib case.
2001-02-19Create __uClibc_main to handle what can be done in C instead of each arch'sManuel Novoa III
respective crt0.S. crt0.S should now only be responsible for setting things up to call __uClibc_main(argc, argv, envp), which will do any other necessary setup (setting global __environ, stdio init, etc), call main, and exit. This should ease both maintainance and porting.
2001-02-19Revert to standard handling of _exit syscall in unified syscall case on i386.Manuel Novoa III
2001-02-19Fix problems with test wrapper and test compiler selection.Manuel Novoa III
2001-02-15Fix LIBC rule. (cut-and-paste user bug...)Manuel Novoa III
2001-02-15Add bdflush.Manuel Novoa III
2001-02-15Add vdprintf function. Note: will be rewritten to check if file descriptor ↵Manuel Novoa III
has an associated FILE to avoid bad interactions with buffered output, but needed for busybox right now and that implementation has the same bug.
2001-02-15Fix stdin/stdout/stderr for now.Manuel Novoa III
2001-02-15Add tsearch functions from libc-5.3.12.Manuel Novoa III
2001-02-13Use MAP_FAILED.Eric Andersen
2001-02-12Clean up lots of warnings.Manuel Novoa III
2001-02-09Use __environ instead of the GNU extension environ.Eric Andersen
-Erik
2001-02-09Remove now irrelevant comment.Eric Andersen
2001-02-09Add #define to handle new ptrace support.Manuel Novoa III
2001-02-09Add missing ffs, used by rpc crap.Eric Andersen
-Erik
2001-02-09Silence warnings -- add func declaration.Eric Andersen
-Erik
2001-02-09Implement getdtablesize(), which is used by the rpc crap.Eric Andersen
-Erik
2001-02-09Revert stdio to initializing itself. Not quite a pretty but that ensures thatEric Andersen
we don't blow up by using too much stack space, and simplifies the job of supporting new architectures, since they don't have to mess with calling foo init functions in crt0 and cleaning up the resulting damage. -Erik
2001-02-09Remove times and all the foolishness surrounding it. There isEric Andersen
a syscall that does this, so use that. -Erik
2001-02-09Doh! I forgot a #ifdef such that ptrace ended up in each and everyEric Andersen
syscall .o file. -Erik