summaryrefslogtreecommitdiff
path: root/libc/misc
AgeCommit message (Collapse)Author
2001-06-26ANSI/ISO specifies that no library function sets errno to 0.Manuel Novoa III
2001-06-26Looks like we lost clearing errnoEric Andersen
2001-06-25Remove simulated d_type support for getdents and the dirent struct, and useManuel Novoa III
the straight getdents syscall instead of the wrapper (which leaked memory).
2001-06-12Cleanup the toploevel makefile handing of shared libs. Add weak_aliasEric Andersen
define, and set things up so nasty old coff toolchains can now compile things and should actually work again. -Erik
2001-06-07The m68k-elf compiler chokes on this code when compiling for PIC asDavid McCullough
compile_regex is one big function (relative function calls further than cpu32 can do). The solution was to re-order the code a little to reduce the size of these relative calls. So the total sum of the changes is: * Move compile_regex to the end of the file * make store_op1 an inline Unfortunately CVS diff doesn't show this and makes it look like the whole file has been severely hacked. It hasn't.
2001-06-02Add locale-enabled strcoll function from vodz, plus supporting tool.Manuel Novoa III
2001-06-01Put the locale stuff back how it was till we can get a proper implementationEric Andersen
that doesn't suck so badly. -Erik
2001-05-28Make selection of uClibc floating point support in printf, etc. seperateManuel Novoa III
from libm float function support. Also, move all Config files out of the main directory.
2001-05-26Fix regex support to be compatible with 4.2 BSD regex library. This isEric Andersen
the last bit that was needed to get util-linux to compile.
2001-05-26Add in message queue support, based on work from <tapu@371.net>.Eric Andersen
This is required to compile util-linux
2001-05-25Add in some more GNU compatible locale stuff. I only implement theEric Andersen
C locale of course. util-linux needs this stuff to compile...
2001-05-23Remove dead code.Manuel Novoa III
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
2001-05-09Add in an older libc5 glob implementation, which is a bit thinner.Eric Andersen
-Erik
2001-05-08Turns out alphasort was totally broken. This fixed one works.Eric Andersen
-Erik
2001-05-08A patch from Jon Nelson <jnelson@securepipe.com> to make scandirEric Andersen
sort things as it is supposed to do.
2001-04-19Remove the old crypt implementationEric Andersen
2001-04-18Add missing time()Eric Andersen
2001-04-18Update temp file handling and use a single function to do allEric Andersen
the heavy lifting (most of the heavy lifting stolen from glibc, but reduced a bit).
2001-04-06Fix up more leftovers resultant from fixing _LIBCEric Andersen
2001-04-06Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen
This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik
2001-03-21Stub out localeconv. Please look over this to check it is correct....Eric Andersen
I started trying to read the glibc code -- but that code is far too messy to be read. So I just wrote a silly C app against glibc, set the locale to POSIX, then called localeconv(). I wrote this version of localeconv.c so it returns the same stuff. -Erik
2001-03-20Fix from Jon Nelson for error in timezoneEric Andersen
-Erik
2001-03-20Put regex back inEric Andersen
2001-03-20Add an empty DIRS target incase it gets inherited from the env.David McCullough
2001-03-19Add in the timezone global from time.h, from a patch byEric Andersen
Jon Nelson <jnelson@boa.org>
2001-03-19Add in alphasort (working fine) and scandir (just a stub for now).Eric Andersen
-Erik
2001-03-19Move the dirent stuff. I suppose it is system dependant, but thenEric Andersen
it really should be grouped together too. And it needed to be grouped more then it needed to be in sysdeps/linux/common
2001-03-19Add in the sysvipc patch from Michael ShmulevichEric Andersen
2001-03-19Since Erik apparently wants def/undef vs def 1/0...Manuel Novoa III
2001-03-18Part of the ctype locale support.Manuel Novoa III
2001-03-13Delete wordexp. There isn't much point in having this sinceEric Andersen
so few apps use it, and it is just a stub anyways. Better to just skip it.
2001-03-08Hmm. Seems I left wordexp off. oops.Eric Andersen
2001-03-08Add in wordexp support (mostly stubbed out for now) since the busyboxEric Andersen
shell, lash, is about to start using wordexp. -Erik
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-19Make sure errno is 0 before we call main (may have been set while initializing).Manuel Novoa III
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-15Fix LIBC rule. (cut-and-paste user bug...)Manuel Novoa III
2001-02-15Add tsearch functions from libc-5.3.12.Manuel Novoa III
2001-02-09Remove times and all the foolishness surrounding it. There isEric Andersen
a syscall that does this, so use that. -Erik
2001-02-05Fix up the networking includesEric Andersen
-Erik
2001-01-30Added some notes. Removed some dead code.Manuel Novoa III
2001-01-30Fix a couple of bugs in printf. Add floating pt output for doubles. Yeah!Manuel Novoa III
Modified stdio/Makefile to build printf.c according to Config values for HAS_FLOATS and HAS_LONG_LONG.
2001-01-28Reduced code size; fixed ANSI bug for day -- 5 not 05; mode days and mons const.Manuel Novoa III
2001-01-25Clean up atexit.c; make sure sysconf and atexit agree; link in ref'd libgcc.aManuel Novoa III
objects with shared uClibc; allow disabling long long support.
2001-01-15Reduce dependancies -- don't use sysconf() internal to libc.Eric Andersen
2001-01-15Make the implementation match the header file.Eric Andersen
2001-01-12Patch from James Graves <jgraves@deltamobile.com> to better handle m68k.Eric Andersen
Also fixes 2 very important malloc bugs! Anyone using malloc (esp mmu-less) should update and recompile. -Erik
2001-01-11A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen