Age | Commit message (Collapse) | Author |
|
also exported by the Linux kernel.h header that we do not include.
|
|
apps can cope gracefully.
|
|
|
|
|
|
|
|
prevent confusing autoconf
|
|
I found inappropriate data types are used in some places in networking
codes.
* tcp_seq is 32bit (u_long -> u_int32_t)
* in_addt_t should be used for internet address (unsigned long -> in_addr_t)
* socklen_t should be used for accept()
This is a patch against uclibc-0.9.21 (can be applied for current
CVS). 64bit platforms (sizeof(int)!=sizeof(long)) will need this. I
believe this patch does not harm any 32bit platforms.
|
|
(__C_SYMBOL_PREFIX__).
|
|
|
|
|
|
static build sizes and not needing wchar support.
Add in a SUSv3 getopt as an option for those not needing gnu getopt.
Again, mainly for the static linking crowd.
|
|
|
|
unwrapped prototypes, when float support is disabled.
Also don't install printf.h if glibc custom printf specifier support
is disabled.
|
|
|
|
|
|
|
|
Hack a fix for ctype support of 8-bit codeset locales.
Note: toupper/tolower mappings do not handle the special cases for the
tr_TR and az_AZ locales, since the wide versions currently handle them
either. That will be addressed when I rewrite the data generation tools
and the libc locale code.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
syscalls, which had managed to stay unimplemented thus far.
-Erik
|
|
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.
|
|
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.
|
|
|
|
namespace guarantees and conflicts with other programs that have used the
AC_FUNC_MALLOC autoconf macro properly.
|
|
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
|
|
file, to prevent stupid configure scripts from getting confused.
|
|
garbage. uClibc does not support STREAMS in any way whatsoever.
-Erik
|
|
|
|
|
|
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
|
|
|
|
fix a couple of gcc 3.3 compiler warnings in gmon.c
|
|
|
|
from glibc 2.3. This should make threads much more efficient.
-Erik
|
|
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
|
|
|
|
-Erik
|
|
use non-existant glibc internals.
|
|
string->numeric conversion functions.
|
|
Also added outdigit support and (legacy) YESSTR/NOSTR support.
|
|
_DIRENT_HAVE_D_TYPE is not defined.
-Erik
|
|
is enabled.
|
|
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.
|
|
work properly, reverting my wrong reading of SuSv3
|
|
This corrects them, per SuSv3.
|