Age | Commit message (Collapse) | Author |
|
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.
|
|
* nanosleep returns the remaining time, not the time slept
* nanosleep only fills out the remaining time if it returns -1 (ie., the
sleep was interrupted)
Fix from Paul Dale <pauli@snapgear.com>
|
|
the linux kernel uses.
-Erik
|
|
generally be the truth...
|
|
the __fsetlocking call in libc/unistd/usershell.c. It should
be wrapped and only included if __UCLIBC_HAS_THREADS__ is defined.
|
|
failures, returned stack allocated memory, and misbehaved itself
in a number of other annoying ways,
-Erik
|
|
in getlogin_r
|
|
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
|
|
|
|
-Erik
|
|
the parts are so tightly coupled.
|
|
arch-specific constant value defined in bits/uClibc_clk_tck.h.
Default is 100 (common/bits) but alpha uses 1024 following glibc.
Override per arch as necessary.
|
|
last night. Restore malloc-ing when buf=NULL for the syscall
version... Move getcwd to libc/sysdeps/linux/common and out
of syscalls.c so there is just one getcwd.o object present.
-Erik
|
|
to using the getcwd syscall instead, when it is present.
-Erik
|
|
|
|
-Erik
|
|
getusershell() and friends.
|
|
|
|
buffering since we will close the file in that case anyway.
|
|
-Erik
|
|
|
|
a problem with getpass() echoing passwords...
|
|
<kensuke@phreaker.net>
|
|
|
|
enable -falign-functions if avilable.
|
|
or dynamicly linked. Obeys the principle of least surprise.
-Erik
|
|
nearly all normal usage.
-Erik
|
|
presence of SIGCHLD.
-Erik
|
|
|
|
-Erik
|
|
|
|
|
|
|
|
defines that as __sysconf(_SC_CLK_TCK) causing infinite recursion.
-Erik
|
|
|
|
supposed to be a number
|
|
|
|
issues, and syns things (as far as I am willing) with Dave Schleef's
tree. We may need to go another round or so, but we do seem to be
converging...
|
|
tree is less messy now (which helps), all libraries are placed into
uClibc/lib when compiling, all libraries now use a consistant mechanism
for being built, all libraries use a consistant naming scheme where the
lib name includes the uClibc version number, which makes ldconfig
happy and willing to work with us.
-Erik
|
|
|
|
|
|
so there is no reason to allocate 4k. Change working of execvep.c
per patch from Matthias Kilian <kili@outback.escape.de> so that there
is not a fixed 127 byte buffer. Too easy to overflow...
-Erik
|
|
-Erik
|
|
-Erik
|
|
|
|
I still need to implement getlogin.c fpathconf.c, but they are required
for IEEE Std. 1003.13-1998 POSIX_FILE_SYSTEM conformance and we don't
have them yet. But we will very very soon. :-)
-Erik
|
|
be there, so I just wrote it up.
-Erik
|
|
This required we use _LIBC instead of __LIBC__ to be consistent with glibc.
This had some sideffects in sys/syscalls.h. While fixing things, I made
everything use __set_errno() for (eventual) thread support.
-Erik
|
|
|
|
-Erik
|