Age | Commit message (Collapse) | Author |
|
|
|
(__set_errno): Just assign to `errno' (which will be expanded to the
thread-friendly version when appropriate).
|
|
-Erik
|
|
needlessly. To do so increases the generated code size with bcc.
Eliminate duplicate define warnings in wstring.c.
Fix potentially broken preprocessor comparisons. The preprocessor
converts integers to maximal signed type, so inequality comparisons
involving UINTMAX_MAX, ULLONG_MAX, and (if no long long) ULONG_MAX
were potentially broken.
|
|
using
a 3.0.4 version of the sh-linux-gcc compiler.
|
|
* pwrite was using the write system call.
* SYSCALL_INLINE was only defined for pread and reused by pwrite
meaning pwrite did a pread :-).
* The kernel pread/pwrite interfaces always take a 64bit value. So
the libc versions must do the LONG_LONG_PAIR stuff otherwise the
pread/pwrite calls will not work.
These guys are working now for SH at least (and I can format my
DiskOnChip again ;-)
|
|
the two i_am_not_a_leaf functions, changing the name of one is harmless
and fixed the problem at the time. Not entirely sure it's still required.
|
|
create_module() support.
|
|
-Erik
|
|
-Erik
|
|
Prepare to kill the UNIFIED_SYSCALL option and instead have it be
a per arch thing that is either enabled or not for that arch.
-Erik
|
|
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.
|
|
-Erik
|
|
-Erik
|
|
Add support for pread64 and pwrite64. Fixup llseek a bit.
-Erik
|
|
|
|
prepending an __ to the name. Not perfect but better.
-Erik
|
|
indicate it is (alledgedly) private.
-Erik
|
|
|
|
Implemented unformatted wide i/o functions. (ungetwc still needs testing)
Fix a few bugs in wchar.c.
Modifications for bcc/elks support.
|
|
|
|
-Erik
|
|
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
|
|
and didn't even work.
-Erik
|
|
standards. Temporarily added a utility function to wrap Erik's strerror_r
so that "Unknown error xxx" strings can be generated for errno's which
cause strerror_r to fail. That utility function will eventually be merged
in with the strerror/strerror_r functions when I change over to optionallly
mmap'ing the system error strings to provide for lower mem comsumption on
non-MMU platforms, as well as locale-specific system error messages.
|
|
-Erik
|
|
not correct for uClibc. Fix setenv locking to behave itself.
-Erik
|
|
-Erik
|
|
-Erik
|
|
-Erik
|
|
-Erik
|
|
|
|
|
|
|
|
|
|
Add in syscalls.h for alpha.
|
|
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.
|
|
|
|
which is a blatent GNU libc-ism... Cope.
-Erik
|
|
-Erik
|
|
|
|
-Erik
|
|
|
|
-Erik
|
|
|
|
which have implementations that works...
-Erik
|
|
address all the concern Miles had with the earlier versions...
-Erik
|
|
interfaces silently renamed under us or very bad things may
happen...
-Erik
|
|
silently renamed under us or very bad things will happen. In this case,
statfs64() ended up recurively calling statfs64() instead of statfs()....
-Erik
|