summaryrefslogtreecommitdiffstats
path: root/libc/misc
Commit message (Collapse)AuthorAgeFilesLines
...
* use some #defines internal to the ctype functions to eliminate themEric Andersen2001-08-141-0/+32
| | | | | | | calling other tiny ctype functions. Now all ctype funcs will end up with no extern references, which ends up shrinking both the uClibc shared lib and shrinking client code. -Erik
* Make sure the weak aliases are defined before the functions/varsDavid McCullough2001-08-091-14/+14
| | | | | they use as stubs, otherwise, some compilers (ie., m68k-elf) tie them to the local symbols and the weak aliases do not work.
* These zero-length files apparently weren't deleted from cvs.Manuel Novoa III2001-07-012-0/+0
|
* ANSI/ISO specifies that no library function sets errno to 0.Manuel Novoa III2001-06-261-2/+0
|
* Looks like we lost clearing errnoEric Andersen2001-06-261-0/+2
|
* Remove simulated d_type support for getdents and the dirent struct, and useManuel Novoa III2001-06-251-11/+1
| | | | the straight getdents syscall instead of the wrapper (which leaked memory).
* Cleanup the toploevel makefile handing of shared libs. Add weak_aliasEric Andersen2001-06-121-3/+12
| | | | | | define, and set things up so nasty old coff toolchains can now compile things and should actually work again. -Erik
* The m68k-elf compiler chokes on this code when compiling for PIC asDavid McCullough2001-06-071-1129/+1128
| | | | | | | | | | | | | | | | 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.
* Add locale-enabled strcoll function from vodz, plus supporting tool.Manuel Novoa III2001-06-023-76/+248
|
* Put the locale stuff back how it was till we can get a proper implementationEric Andersen2001-06-0111-1222/+0
| | | | | that doesn't suck so badly. -Erik
* Make selection of uClibc floating point support in printf, etc. seperateManuel Novoa III2001-05-281-1/+1
| | | | | from libm float function support. Also, move all Config files out of the main directory.
* Fix regex support to be compatible with 4.2 BSD regex library. This isEric Andersen2001-05-261-0/+1
| | | | the last bit that was needed to get util-linux to compile.
* Add in message queue support, based on work from <tapu@371.net>.Eric Andersen2001-05-262-1/+60
| | | | This is required to compile util-linux
* Add in some more GNU compatible locale stuff. I only implement theEric Andersen2001-05-2511-0/+1222
| | | | C locale of course. util-linux needs this stuff to compile...
* Remove dead code.Manuel Novoa III2001-05-233-130/+0
|
* Ok, this should finish off my massive ro-organization. The sourceEric Andersen2001-05-1217-34/+17
| | | | | | | | | 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
* Add in an older libc5 glob implementation, which is a bit thinner.Eric Andersen2001-05-091-963/+451
| | | | -Erik
* Turns out alphasort was totally broken. This fixed one works.Eric Andersen2001-05-081-4/+3
| | | | -Erik
* A patch from Jon Nelson <jnelson@securepipe.com> to make scandirEric Andersen2001-05-081-4/+5
| | | | sort things as it is supposed to do.
* Remove the old crypt implementationEric Andersen2001-04-191-1/+1
|
* Add missing time()Eric Andersen2001-04-182-1/+39
|
* Update temp file handling and use a single function to do allEric Andersen2001-04-182-1/+188
| | | | | the heavy lifting (most of the heavy lifting stolen from glibc, but reduced a bit).
* Fix up more leftovers resultant from fixing _LIBCEric Andersen2001-04-061-2/+39
|
* Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen2001-04-0612-17/+20
| | | | | | | 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
* Stub out localeconv. Please look over this to check it is correct....Eric Andersen2001-03-213-9/+58
| | | | | | | | 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
* Fix from Jon Nelson for error in timezoneEric Andersen2001-03-201-1/+1
| | | | -Erik
* Put regex back inEric Andersen2001-03-201-1/+1
|
* Add an empty DIRS target incase it gets inherited from the env.David McCullough2001-03-201-0/+2
|
* Add in the timezone global from time.h, from a patch byEric Andersen2001-03-191-0/+5
| | | | Jon Nelson <jnelson@boa.org>
* Add in alphasort (working fine) and scandir (just a stub for now).Eric Andersen2001-03-193-1/+90
| | | | -Erik
* Move the dirent stuff. I suppose it is system dependant, but thenEric Andersen2001-03-1910-1/+346
| | | | | it really should be grouped together too. And it needed to be grouped more then it needed to be in sysdeps/linux/common
* Add in the sysvipc patch from Michael ShmulevichEric Andersen2001-03-197-8/+327
|
* Since Erik apparently wants def/undef vs def 1/0...Manuel Novoa III2001-03-192-3/+3
|
* Part of the ctype locale support.Manuel Novoa III2001-03-187-26/+934
|
* Delete wordexp. There isn't much point in having this sinceEric Andersen2001-03-134-2709/+1
| | | | | so few apps use it, and it is just a stub anyways. Better to just skip it.
* Hmm. Seems I left wordexp off. oops.Eric Andersen2001-03-081-1/+1
|
* Add in wordexp support (mostly stubbed out for now) since the busyboxEric Andersen2001-03-084-1/+2710
| | | | | shell, lash, is about to start using wordexp. -Erik
* stdio mostly rewritten... passes lots of tests now.Manuel Novoa III2001-02-271-15/+11
| | | | printf now supports long double, plus some bug fixes.
* For some reason the fancy attribute tags were not working on m68k soDavid McCullough2001-02-271-8/+4
| | | | | | | 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 :-)
* Make sure errno is 0 before we call main (may have been set while initializing).Manuel Novoa III2001-02-191-0/+10
|
* Create __uClibc_main to handle what can be done in C instead of each arch'sManuel Novoa III2001-02-192-1/+81
| | | | | | | 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.
* Fix LIBC rule. (cut-and-paste user bug...)Manuel Novoa III2001-02-151-2/+2
|
* Add tsearch functions from libc-5.3.12.Manuel Novoa III2001-02-153-1/+234
|
* Remove times and all the foolishness surrounding it. There isEric Andersen2001-02-091-1/+1
| | | | | a syscall that does this, so use that. -Erik
* Fix up the networking includesEric Andersen2001-02-051-17/+14
| | | | -Erik
* Added some notes. Removed some dead code.Manuel Novoa III2001-01-301-6/+6
|
* Fix a couple of bugs in printf. Add floating pt output for doubles. Yeah!Manuel Novoa III2001-01-301-106/+262
| | | | | Modified stdio/Makefile to build printf.c according to Config values for HAS_FLOATS and HAS_LONG_LONG.
* Reduced code size; fixed ANSI bug for day -- 5 not 05; mode days and mons const.Manuel Novoa III2001-01-281-28/+48
|
* Clean up atexit.c; make sure sysconf and atexit agree; link in ref'd libgcc.aManuel Novoa III2001-01-251-2/+5
| | | | objects with shared uClibc; allow disabling long long support.
* Reduce dependancies -- don't use sysconf() internal to libc.Eric Andersen2001-01-151-7/+5
|