summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-08-04For sparc, powerpc, mips, and alpha we should also use theEric Andersen
common ipc.h header and struct definitions. -Erik
2003-08-04Update inet_aton() to support an undocumented feature of inet_aton,Eric Andersen
per UNIX Network Programming, Volume 1, second edition: An undocumented feature of inet_aton is that if addrptr is a null pointer, the function still performs it validation of the input string, but does not store the result.
2003-08-02Update licensing discussionEric Andersen
2003-08-01Replace 'new' in a prototype to avoid c++ problems.Manuel Novoa III
2003-08-01Fix a silly error.Manuel Novoa III
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.
2003-08-01Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III
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.
2003-08-01Remove the arch specific shm.h and use the fixed up commonEric Andersen
one which now uses the kernel structs -Erik
2003-07-21Doing an search and replace on CFLAGS can prove dangerous. We don'tEric Andersen
do -O0 by default anyways, so leave this disabled for now.
2003-07-17Bug fix from Peter Kjellerstedt <peter.kjellerstedt@axis.com>. vfscanf wasManuel Novoa III
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.
2003-07-15Patch from Peter Kjellerstedt to not modify include/bits/sysnum.hEric Andersen
if it does not need to be updated.
2003-07-15Patch from Peter Kjellerstedt to make it simpler for arches to specifyEric Andersen
either -fPIC or -fpic
2003-07-15Fix a silly cut-n-paste errorEric Andersen
2003-07-14Yikes! This was doing another lock instead of unlocking the stream.Manuel Novoa III
2003-07-03As noted by Felix Radensky back on 16 Mar:Eric Andersen
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
2003-07-02Only exec child apps if they are elf type ET_EXECEric Andersen
2003-07-01Fix source code URLEric Andersen
2003-07-01oops. This is 0.9.20, not .30Eric Andersen
2003-07-01More updatesEric Andersen
2003-07-01Update note re binary compatEric Andersen
2003-06-30Update for releaseEric Andersen
2003-06-30Yield to yet another glibc-ism and add __prognameEric Andersen
2003-06-30Update for completed itemsEric Andersen
2003-06-30Fixup symlinks to libthread_dbEric Andersen
2003-06-30Per suggestion from Stuart Hughes, allow uClibc to re-installEric Andersen
headers on a system where they have previously been installed.
2003-06-30Patch from Pavel Roskin to fixup toplevel help textEric Andersen
2003-06-27Fix a couple of typosEric Andersen
2003-06-27ret could have been used uninitialized in one caseEric Andersen
2003-06-27Add a test which shows off the broken spots in our dlopen implementationEric Andersen
2003-06-27oopsEric Andersen
2003-06-27Run dlopened ctors and dtors in the correct orderEric Andersen
2003-06-27Revenge of the TypoEric Andersen
2003-06-27whitespace and debug updatesEric Andersen
2003-06-27Yet more cleanup for the reentrant pwd/grp functions so theyEric Andersen
should now actually be doing the right thing
2003-06-27Fixup errno handlingEric Andersen
-Erik
2003-06-27Add config option to enable 'struct tm' timezone extension fieldsEric Andersen
2003-06-27Do not let isatty mess up errnoEric Andersen
2003-06-27Cleanup a couple of ugly bitsEric Andersen
2003-06-27Implement mmap64 for armEric Andersen
2003-06-27add mmap64 for i386Eric Andersen
2003-06-27oops. Fix the name so it is "mmap64", not "__mmap64"Eric Andersen
2003-06-27Actually, some arches do support _syscall6, so implement a generic versionEric Andersen
for them... -Erik
2003-06-27Mention that the common mmap64 is a stub and must be overriddenEric Andersen
on a per arch basis using platform specific code
2003-06-27Add missing madvise syscallEric Andersen
2003-06-27Per a patch from Rob McMullen, add getprotoent_r, getprotobyname_r,Eric Andersen
and getprotobynumber_r
2003-06-27Add in ceilf() and floorf() since XFree86 wants them...Eric Andersen
2003-06-24Several more cleanupsEric Andersen
2003-06-24Fix indenting for real this time.Eric Andersen
2003-06-24Make indenting be consistantEric Andersen
2003-06-24Rename the very badly named 'UCLIBC_GCC' to 'UCLIBC_ENV' andEric Andersen
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.
2003-06-24Change 'undefined behavior' of fflush() on readonly or reading streamsManuel Novoa III
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.