| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
up for readability. Merge in putenv. Add clearenv as a side effect.
-Erik
|
|
|
|
|
| |
they're quite solid now and Erik needs them for the gcc port. Comments at
the head of wchar.c.
|
|
|
|
| |
preserving the space-saving aliases.
|
|
|
|
| |
-Erik
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LC_TIME, LC_MONETARY, and LC_MESSAGES for the SUSv3 items. Also,
nl_langinfo() when real locale support is enabled.
New implementation of ctype.h.
New implementation of wctype.h.
New implementation of most of the string functions (smaller).
New implementation of the wcs/wmem functions. These are untested, but
they're also just preprocessor-modified versions ot the corresponding
str/mem functions.
Tweaked qsort and new bsearch.
Stuff still pending:
stdlib.h and wchar.h mb<->wc functions. I actually have working
versions of the stdlib ones, but the reentrant versions from
wchar.h require some reworking.
Basic replacement and translit support for wc->mb conversions.
(groundwork laid).
Simple-minded collate support such as was provided by the previous
locale implementation. (mostly done -- 8-bit codesets only)
Shared mmaping of the locale data and strerror message text.
|
|
|
|
|
| |
a separate header file for those, and fixup references.
-Erik
|
|
|
|
|
| |
which is needed for busybox ash when using largefile support.
-Erik
|
|
|
|
|
|
|
| |
getpt.c: In function 'getpt':
getpt.c:83: 'have_no_dev_ptmx' undeclared ...
oops.
-Erik
|
|
|
|
|
|
| |
reentrant one as well. It is not much bigger than what we
had, so...
-Erik
|
|
|
|
|
|
| |
lame, since internally I'm just using strtod, but that keeps things
small, and has the side effect of making these easy to write.
-Erik
|
| |
|
|
|
|
|
|
| |
than the old ones, even with errno setting turned on now. Also, at
least on i386, we no longer need the long long helper functions for
division and mod from libgcc.a.
|
| |
|
| |
|
|
|
|
| |
-Erik
|
|
|
|
| |
to mark __stdio_flush_buffers with weak_function. Oops!
|
|
|
|
| |
unnecessary variable
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Programs that don't use stdio crash in the `exit' function, because
they call through the pointer__uClibc_cleanup, which has a value of 0.
It has a value of 0 because __uClibc_main.c initializes it to the
address of `__stdio_close_all', which is a weak symbol (and so is 0 if
stdio is not used).
This patch from Miles fixes it, though we need to audit
__stdio_close_all usage to be sure...
|
|
|
|
|
| |
proper threading. Most of this is from Stefan Soucek,
with additions and changes as needed from me.
|
| |
|
| |
|
|
|
|
| |
support for Unix98 PTYs, and optionally exclude the older junk.
|
| |
|
| |
|
| |
|
|
|
|
| |
He sent this patch to me a month ago, but I forgot to apply it...
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the libc/stdlib/bsd_getpt.c file you have line:
memcpy (buf, _PATH_PTY, sizeof (_PATH_PTY) - 1);
It really should be:
memcpy (buf, _PATH_PTY, sizeof (_PATH_PTY) );
The last nul character must be copied too because the next line uses
strlen() to get buf's length.
|
|
|
|
| |
-Erik
|
| |
|
|
|
|
|
|
| |
define, and set things up so nasty old coff toolchains can now compile
things and should actually work again.
-Erik
|
|
|
|
|
| |
from libm float function support. Also, move all Config files out of the
main directory.
|
|
|
|
|
|
|
|
|
| |
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 that it works for realloc too.
-Erik
|
| |
|
|
|
|
|
|
|
|
| |
port. I have reworked the code quite a bit so that the stuff that is supposed
to be in libc is in libc, and I added a bunch of missing stuff so the libutil
interface matches that of glibc's libutil. The only caveat is that
libutil/login.c is currently a stub.
-Erik
|
|
|
|
|
| |
srand was in the wrong file, causing rand.o to be needlessly included in some
cases.
|
|
|
|
| |
on my patch.
|
|
|
|
|
| |
when folks do a malloc(0) using malloc-simple.
-Erik
|
|
|
|
| |
when folks do a malloc(0) using malloc-930716.
|
|
|
|
|
| |
the heavy lifting (most of the heavy lifting stolen from glibc,
but reduced a bit).
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
include file so folks know random is now there.
|
|
|
|
|
|
|
|
| |
defining things to "0" in the disabled case to outright undefining them, lest
code that does an "#ifdef FOO" get inadvertantly triggered. Remove now
unneeded lines from Rules.mak which makes the command line smaller and avoids
redundancy (since this stuff is now pulled in via features.h).
-Erik
|
|
|
|
| |
-Erik
|
|
|
|
| |
malloc still only works for little-endian CPUs... Patch by Jean-Yves Avenard
|