summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2003-05-23Cope with autoconf's broken AC_FUNC_MALLOC macro, which redefines malloc asEric Andersen
rpl_malloc if it does not detect glibc style returning-a-valid-pointer-for-malloc(0) behavior. This wrapper calls malloc() as usual, but if N is zero, we allocate and return a 1-byte block instead.... sigh... -Erik
2003-03-13resync with glibc 2.3Eric Andersen
2003-03-07Patch from Stefan Allius:Eric Andersen
fix a couple of gcc 3.3 compiler warnings in gmon.c
2003-03-03Initial effort at adding profiling support.Eric Andersen
2003-02-27Major update for pthreads, based in large part on improvementsEric Andersen
from glibc 2.3. This should make threads much more efficient. -Erik
2003-02-17Patch from Stefan Allius:Eric Andersen
I patched the link_warning macro in features.h to fix warnings like: locale.c:358: warning: `__evoke_link_warning_localeconv' defined but not used
2003-02-17Use a define for the path to /etc/TZDavid McCullough
2003-01-09Hide unimplemented and legacy ecvt and friends from configure.Eric Andersen
-Erik
2003-01-08Disable the __USE_EXTERN_INLINES versions of these headers, whichEric Andersen
use non-existant glibc internals.
2003-01-08For now, "#if 0" out the inlining of (currently unsupported) glibc-specificManuel Novoa III
string->numeric conversion functions.
2002-12-20The big thing is locale dependent collation support.Manuel Novoa III
Also added outdigit support and (legacy) YESSTR/NOSTR support.
2002-12-17Dop not restrict the IFTODT() and DTTOIF() macros whenEric Andersen
_DIRENT_HAVE_D_TYPE is not defined. -Erik
2002-11-27Fixup sysconf to report the correct answer when UCLIBC_DYNAMIC_ATEXITEric Andersen
is enabled.
2002-11-22Ok... here's the summary:Manuel Novoa III
Hopefully locale support will build when cross compiling now. Collation is still not supported, but that's what I'm currently working on. In the next couple of days, I'll probably put up a couple of files for download that will save people the trouble of generating all the glibc locales. Added *wprintf functions, although they currently don't support floating point. That will be fixed when I rewrite _dtostr... or possibly before. Added the wcsto{inttype} functions. Added iconv() and a mini iconv utility. The require locale support and only provide for conversions involving the various unicode encodings { UCS-4*, UCS-2*, UTF-32*, UTF-16*, UTF-8 }, the 8-bit codesets built with the locale data, and the internal WCHAR_T.
2002-11-20Patch from Aidan Van Dyk to make _toupper and _tolowerEric Andersen
work properly, reverting my wrong reading of SuSv3
2002-11-19Aidan Van Dyk noticed that _toupper and _tolower were misbehaving.Eric Andersen
This corrects them, per SuSv3.
2002-11-19cut-n-paste typoEric Andersen
2002-11-19Update to sync up with glibc 2.3Eric Andersen
2002-11-14Implement sendfile64Eric Andersen
-Erik
2002-11-09Make sure we have __linux__ definedEric Andersen
2002-11-08Disble unimplemented function prototypesEric Andersen
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
2002-10-13It turns out that __thread is now a gcc keyword. We used __thread inEric Andersen
a few spots in our header files. In this change I do a s/__thread/__thread_id/ so we no longer conflict with newer CVS versions of gcc (such as the patched up gcc 3.2 included with RedHat 3.0). -Erik
2002-09-19Add gnu obstack support. I still need to implement the obstack_printfManuel Novoa III
and obstack_vprintf, but at least now the reiserfsprogs build.
2002-09-19Hide my personal #warning reminders. Add __wcschrnul, rename strchrnulManuel Novoa III
to __strchrnul, and add weak aliases for them.
2002-09-04Added function 'get_current_dir_name' for Linux Test Project. Tested and"Steven J. Hill"
works identically to function in glibc.
2002-08-27Obligatory forgotten file... sys_errlist garbage.Manuel Novoa III
2002-08-27Make this as glibc-like as possible while avoiding the fileutilsManuel Novoa III
problem. glibc hides the DT_* enum values unless __USE_BSD is defined.
2002-08-27Move the _DIRENT_HAVE_D_TYPE test to avoid breaking fileutilsEric Andersen
-Erik
2002-08-27No need to hide this stuff when _DIRENT_HAVE_D_TYPE is notEric Andersen
defined... Nothing too sacred in there and it can be used for other things... -Erik
2002-08-26sparc, alpha, and mips have different errno values than the otherManuel Novoa III
supported platforms. Adjust _susv3_strerror_r function to deal with this. Also fix an error in strerror() wrt invalid errnos. NOTE: sys_errlist and sys_nerr are no longer supported!!!
2002-08-25Kill the HAS_LONG_LONG option. It really did not make a lot ofEric Andersen
sense to exclude it, gcc always supports long long, and we never fully excluded long long anyways (off64_t for example). -Erik
2002-08-20Unlike glibc, uClibc doesn't always support the d_type field ofManuel Novoa III
struct dirent. So, disable the d_type support macros when d_type isn't available. This fixes a build problem file fileutils-4.1.
2002-08-19Eliminate wrapping of struct stat and use the kernel versionEric Andersen
directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
2002-08-19Fixup struct _res handling so apps using struct _res can actuallyEric Andersen
compile ("worst standard ever!") -Erik
2002-08-16Disable macro implementations. Somehow I missed the following from theManuel Novoa III
ANSI/ISO C99 std... A library macro that masks a function declaration expands to an expression that evaluates each of its arguments once (and only once). ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Arguments that have side effects evaluate the same way whether the expression executes the macro expansion or calls the function. Macros for the functions getc and putc are explicit exceptions to this rule. Their stream arguments can be evaluated more than once. Avoid argument expressions that have side effects with these macros. This will be reworked before the next release. And yes, I feel stupid.
2002-08-16Remove thread-specific stuff entirely.Miles Bader
2002-08-16(_res): Define as a macro if __UCLIBC_HAS_THREADS__ is defined,Miles Bader
regardless of _LIBC.
2002-08-16(h_errno): Only define as a macro if __UCLIBC_HAS_THREADS__ is defined.Miles Bader
(__set_h_errno): Just assign to `h_errno' (which will be expanded to the thread-friendly version when appropriate).
2002-08-16Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen
-Erik
2002-08-15Patch from Jarkko to fix drand48 to not use long long whenEric Andersen
long long support is disabled in the uClibc Config.
2002-08-14Add missing include/thread_db.h file, as reported by Simon PosnjakEric Andersen
-Erik
2002-08-09Fix some more warnings for non-thread-enabled compiles.David McCullough
2002-08-09Fix a number of compile time warnings so that uClibc will build with -Werror ↵David McCullough
using a 3.0.4 version of the sh-linux-gcc compiler.
2002-08-08Make pump happy. Add in this header.Eric Andersen
-Erik
2002-08-07Cleanup crypt and remove the crypt_r stuff, since SuSv3Eric Andersen
(IEEE Std 1003.1-2001) states that crypt need not be reentrant. -Erik
2002-08-07Message catalog support for internationalization is not currentlyEric Andersen
provided by uClibc, and here I have added macros to disable it. -Erik
2002-08-06Enable getpt prototype.Manuel Novoa III
2002-07-31More i960 supportEric Andersen
2002-07-27Avoid errors in case some loon has explicitly includedEric Andersen
linux/kernel.h (even though doing so is very dumb). -Erik