summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Replace 'new' in a prototype to avoid c++ problems.Manuel Novoa III2003-08-011-1/+1
|
* Fix a silly error.Manuel Novoa III2003-08-011-0/+1
| | | | | | | To use the pregenerated locales, untar in the extra/locale directory. Do a 'make config' or 'make menuconfig' in the uClibc root dir, then a 'make headers' followed by 'make -C extra/locale pregen'. Then continue with 'make' as usual.
* Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III2003-08-0161-2832/+8923
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should be standards compliant and with several optional features, including support for hexadecimal float notation, locale awareness, glibc-like locale-specific digit grouping with the `'' flag, and positional arg support. I tested it pretty well (finding several bugs in glibc's scanf in the process), but it is brand new so be aware. The *wprintf functions now support floating point output. Also, a couple of bugs were squashed. Finally, %a/%A conversions are now implemented. Implement the glibc xlocale interface for thread-specific locale support. Also add the various *_l(args, locale_t loc_arg) funcs. NOTE!!! setlocale() is NOT threadsafe! NOTE!!! The strto{floating point} conversion functions are now locale aware. The also now support hexadecimal floating point notation. Add the wcsto{floating point} conversion functions. Fix a bug in mktime() related to dst. Note that unlike glibc's mktime, uClibc's version always normalizes the struct tm before attempting to determine the correct dst setting if tm_isdst == -1 on entry. Add a stub version of the libintl functions. (untested) Fixed a known memory leak in setlocale() related to the collation data. Add lots of new config options (which Erik agreed to sort out :-), including finally exposing some of the stripped down stdio configs. Be careful with those though, as they haven't been tested in a long time. (temporary) GOTCHAs... The ctype functions are currently incorrect for 8-bit locales. They will be fixed shortly. The ctype functions are now table-based, resulting in larger staticly linked binaries. I'll be adding an option to use the old approach in the stub locale configuration.
* Remove the arch specific shm.h and use the fixed up commonEric Andersen2003-08-016-496/+34
| | | | | one which now uses the kernel structs -Erik
* Doing an search and replace on CFLAGS can prove dangerous. We don'tEric Andersen2003-07-211-1/+1
| | | | do -O0 by default anyways, so leave this disabled for now.
* Bug fix from Peter Kjellerstedt <peter.kjellerstedt@axis.com>. vfscanf wasManuel Novoa III2003-07-171-1/+9
| | | | | not setting the FILE bufread member to flag the end of the buffer. Also, do not set bufgetc member if getc macro support is disabled.
* Patch from Peter Kjellerstedt to not modify include/bits/sysnum.hEric Andersen2003-07-151-2/+6
| | | | if it does not need to be updated.
* Patch from Peter Kjellerstedt to make it simpler for arches to specifyEric Andersen2003-07-152-6/+5
| | | | either -fPIC or -fpic
* Fix a silly cut-n-paste errorEric Andersen2003-07-151-1/+1
|
* Yikes! This was doing another lock instead of unlocking the stream.Manuel Novoa III2003-07-141-1/+1
|
* As noted by Felix Radensky back on 16 Mar:Eric Andersen2003-07-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | I've tried several times to compile uClibc with soft-float (both gcc-3.2.2 toolchain and wrapper), but applications compiled with uClibc always failed with "Invalid instruction". So I ended up disabling floating point at all and this works well. I also has no problem with glibc from Monta Vista, which is compiled with soft-float. My processor is PowerPC 405GP. Maybe the problem is in FP() macro definition in libc/sysdeps/linux/powerpc/setjmp.S and libc/sysdeps/linux/powerpc/__longjmp.S #ifdef __UCLIBC_HAS_FLOATS__ #define FP(x...) x #else #define FP(x...) #endif which should be defined as if defined __UCLIBC_HAS_FLOATS__ && ! defined __UCLIBC_HAS_SOFT_FLOAT__ #define FP(x...) x #else #define FP(x...) #endif
* Only exec child apps if they are elf type ET_EXECEric Andersen2003-07-021-2/+3
|
* Fix source code URLEric Andersen2003-07-011-1/+1
|
* oops. This is 0.9.20, not .30Eric Andersen2003-07-011-1/+1
|
* More updatesEric Andersen2003-07-012-59/+60
|
* Update note re binary compatEric Andersen2003-07-011-1/+2
|
* Update for release0_9_20Eric Andersen2003-06-304-218/+1665
|
* Yield to yet another glibc-ism and add __prognameEric Andersen2003-06-301-0/+3
|
* Update for completed itemsEric Andersen2003-06-301-10/+2
|
* Fixup symlinks to libthread_dbEric Andersen2003-06-301-1/+3
|
* Per suggestion from Stuart Hughes, allow uClibc to re-installEric Andersen2003-06-301-4/+4
| | | | headers on a system where they have previously been installed.
* Patch from Pavel Roskin to fixup toplevel help textEric Andersen2003-06-301-3/+12
|
* Fix a couple of typosEric Andersen2003-06-271-2/+1
|
* ret could have been used uninitialized in one caseEric Andersen2003-06-272-2/+2
|
* Add a test which shows off the broken spots in our dlopen implementationEric Andersen2003-06-275-0/+197
|
* oopsEric Andersen2003-06-271-1/+1
|
* Run dlopened ctors and dtors in the correct orderEric Andersen2003-06-272-8/+16
|
* Revenge of the TypoEric Andersen2003-06-271-1/+1
|
* whitespace and debug updatesEric Andersen2003-06-271-42/+46
|
* Yet more cleanup for the reentrant pwd/grp functions so theyEric Andersen2003-06-279-20/+55
| | | | should now actually be doing the right thing
* Fixup errno handlingEric Andersen2003-06-2713-55/+93
| | | | -Erik
* Add config option to enable 'struct tm' timezone extension fieldsEric Andersen2003-06-271-0/+13
|
* Do not let isatty mess up errnoEric Andersen2003-06-271-3/+11
|
* Cleanup a couple of ugly bitsEric Andersen2003-06-271-6/+4
|
* Implement mmap64 for armEric Andersen2003-06-272-1/+80
|
* add mmap64 for i386Eric Andersen2003-06-272-1/+113
|
* oops. Fix the name so it is "mmap64", not "__mmap64"Eric Andersen2003-06-271-2/+3
|
* Actually, some arches do support _syscall6, so implement a generic versionEric Andersen2003-06-271-7/+36
| | | | | for them... -Erik
* Mention that the common mmap64 is a stub and must be overriddenEric Andersen2003-06-271-0/+7
| | | | on a per arch basis using platform specific code
* Add missing madvise syscallEric Andersen2003-06-271-0/+6
|
* Per a patch from Rob McMullen, add getprotoent_r, getprotobyname_r,Eric Andersen2003-06-271-20/+74
| | | | and getprotobynumber_r
* Add in ceilf() and floorf() since XFree86 wants them...Eric Andersen2003-06-273-1/+134
|
* Several more cleanupsEric Andersen2003-06-241-29/+48
|
* Fix indenting for real this time.Eric Andersen2003-06-241-433/+433
|
* Make indenting be consistantEric Andersen2003-06-241-430/+431
|
* Rename the very badly named 'UCLIBC_GCC' to 'UCLIBC_ENV' andEric Andersen2003-06-241-23/+29
| | | | | | | | | | | | | implement 'UCLIBC_CC', which does this: $ UCLIBC_CC=gcc-2.95 /usr/i386-linux-uclibc/bin/i386-uclibc-gcc --version 2.95.4 $ UCLIBC_CC=gcc-3.3 /usr/i386-linux-uclibc/bin/i386-uclibc-gcc --version gcc-3.3 (GCC) 3.3 (Debian) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* Change 'undefined behavior' of fflush() on readonly or reading streamsManuel Novoa III2003-06-241-8/+18
| | | | | | | to match that of current glibc; i.e. don't do anything and return success. Apparently, php calls fflush() on a file opened as readonly before trying to read. Eventually I'll add some config options to flag this and several other instances of nonportable code.
* Make login actually write out utmp and wtmp junk (evenEric Andersen2003-06-241-2/+13
| | | | though such things are completly unreliable crap)
* Be extra careful to memset the correct size, not the size of some randomEric Andersen2003-06-185-43/+37
| | | | | | | pointer. Fix printing of '0x0x' in ldd output. Simplify discrimination of libname, so doing things like dlopen("./libfoo.so",RTLD_NOW) with a leading "./" in the path will work as expected. -Erik
* Optionally support the struct tm extension fields.Manuel Novoa III2003-06-174-17/+44
| | | | | | | Add a few misc functions mentioned in time.h. Revert davidm's change regarding using a define for the "/etc/TZ" path, as this is eventually meant to be a configurable extension and not unconditionally supported.