summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2003-08-24Fix a few bugs in the new extended locale functions.Manuel Novoa III
Move stub gettext functions to a stub libintl to make switching in gnu gettext easier. Also add a few gnu-isms. Change to using hidden names with global weak aliases for the extended locale functions, as expected by libstd++. Slightly rework the locale data generation stuff to allow pregenerated locale data to be used with buildroot.
2003-08-22Avoid gratuitous conflicts when used with kernel headersEric Andersen
2003-08-11also carefully booleanize the false valueEric Andersen
2003-08-10silly me, thats not going to work.Eric Andersen
2003-08-10An even simpler likelyEric Andersen
2003-08-10Update likely() to cope with truth values other than 1Eric Andersen
2003-08-08Add support for personality(), prctl(), ustat(), and ulimit()Eric Andersen
syscalls, which had managed to stay unimplemented thus far. -Erik
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-06-17Optionally support the struct tm extension fields.Manuel Novoa III
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.
2003-06-16Add memmem().Manuel Novoa III
2003-06-14Comment out the rpl_malloc workaround. It was a good idea, but it violatesEric Andersen
namespace guarantees and conflicts with other programs that have used the AC_FUNC_MALLOC autoconf macro properly.
2003-06-12The mere presence of stropts.h causes many configure scripts to erroneouslyEric Andersen
believe that uClibc supports STREAMS. Well, we don't. So I am hereby removing this header file, since it was empty anyways. Applications that depend on stropts.h being present, but do not depend on its contents, are broken anyways. -Erik
2003-06-05We do not provide getfsent and friends, so remove this headerEric Andersen
file, to prevent stupid configure scripts from getting confused.
2003-05-29Eviscerate stropts.h so configure scripts won't try to use STREAMSEric Andersen
garbage. uClibc does not support STREAMS in any way whatsoever. -Erik
2003-05-27grr. It's a void *, not a char *.Eric Andersen
2003-05-27Change 'N' to '__size' to avoid conflicts with common #define of NEric Andersen
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