summaryrefslogtreecommitdiff
path: root/libc/misc
AgeCommit message (Collapse)Author
2002-09-03Oops. Turns out I broke statvfs() and fstatvfs() back in February,Eric Andersen
when I accidentally changed them unconditionally into the 64 bit versions... Oops. -Erik
2002-08-26Implement missing readdir64_r.cEric Andersen
-Erik
2002-08-25Make shm stuff work properly.Eric Andersen
-Erik
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
2002-08-19Add a .note section to make gdb happyEric Andersen
2002-08-19Call the pthread setup junk early if possible.Eric Andersen
2002-08-19Be prepared to call __pthread_initialize_minimalEric Andersen
2002-08-12Fix use of __pthread_once, and fix rpc usage of thread localEric Andersen
storage.... -Erik
2002-08-12Revert commit by davidm to printf.c that initialized conv_numManuel Novoa III
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.
2002-08-08Shuffle things around a bit. Looks a little cleaner.Eric Andersen
-Erik
2002-08-08Cleanup warnings and fix prototypesEric Andersen
-Erik
2002-08-07Remove some noiseEric Andersen
2002-08-03A couple of little cleanups I forgot to check in.Manuel Novoa III
2002-08-03When DODEBUG and HAS_WCHAR were enabled and HAS_LOCALE was disabled,Eric Andersen
wchar.c wouldn't compile: wchar.c: In function `__mbsnrtowcs': wchar.c:631: `__ctype_encoding_7_bit' undeclared (first use in this function) This fixes it by keeping the locale specific asserts hidden when not relevant. -Erik
2002-07-16Do not assume NULL termination on the ut_id field. ThanksEric Andersen
to mac12@po.cwru.edu for spotting this one.
2002-07-15Clean up CLK_TCK situation. clock() and sysconf() now use anManuel Novoa III
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.
2002-07-10Tobias Anderberg <tobias.anderberg@axis.com> noticed thatEric Andersen
we were opening the socket() as SOCK_STREAM instead of using SOCK_DGRAM like we should have done.
2002-07-05Add copyright message and remove dead code.Manuel Novoa III
2002-07-03Enable WCHAR support for C/POSIX stub locales.Manuel Novoa III
Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support.
2002-07-02Oops. missed a spotEric Andersen
-Erik
2002-07-02openlog could deadlock when called from vsyslog, soEric Andersen
allow recursive locking, -Erik
2002-06-20Cleanup the function pointer comparisionsEric Andersen
-Erik
2002-06-18Add in thread locking for tzset() and associated data. Also, fix a bug soManuel Novoa III
that localtime_r() calls tzset() to initialize/update timezone data.
2002-06-18Fix thread locking so it worksEric Andersen
-Erik
2002-06-18Fix locking. KillEric Andersen
2002-06-18Some commentaryEric Andersen
-Erik
2002-06-17Shuffle the logic around a bitEric Andersen
-Erik
2002-06-17Some cleanups so utmp/wtmp behaves. Fix potential use ofEric Andersen
uninitialized memory. Prepare to reentrantify the utmp stuff. -Erik
2002-06-17Ah kant spel mi nameEric Andersen
2002-06-17Commit the new time stuff, even though I haven't made it threadsafe yet.Manuel Novoa III
At least people can play with it. Also, fix a buglet in setenv.c.
2002-06-15time() is implemented in syscalls.cEric Andersen
-Erik
2002-06-08Added a version of nl_langinfo for the stub C/POSIX locale support.Manuel Novoa III
2002-05-30Fixup totally broken locking code... No storage for the mutex,Eric Andersen
wrong ifdef macro.. -Erik
2002-05-30Cope with systems that don't glob all these together, but useEric Andersen
separate syscalls. -Erik
2002-05-23Obligatory forgotten file during commit...Manuel Novoa III
2002-05-23Multibyte and wide char conversion functions. Some work still to do, butManuel Novoa III
they're quite solid now and Erik needs them for the gcc port. Comments at the head of wchar.c.
2002-05-23Cleanup slightlyEric Andersen
2002-05-12Add a missing #includeEric Andersen
2002-05-12Fix this one up so it worksEric Andersen
2002-05-11Fixup for architectures that do not supply the ipc systemEric Andersen
call, but implement the ipc functions as separate system calls. -Erik
2002-05-11Oops. Stupid typo.Eric Andersen
2002-05-11Begin the process of reworking the time functions for properEric Andersen
time zone and locale support (in theory). More work is still needed. -Erik
2002-05-11Implement readdir_r. Audit for proper thread safety and locking.Eric Andersen
-Erik
2002-05-07Fixup build a bit moreEric Andersen
2002-05-06The obligatory forgotten files...Manuel Novoa III
2002-05-06New locale support (in development). Supports LC_CTYPE, LC_NUMERIC,Manuel Novoa III
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.
2002-04-17Patch from Martin Proulx to not do ELFish things when not ELF.Eric Andersen
2002-04-17Patch from Martin Proulx to remove weak_aliases for non ELF compilers inEric Andersen
__uClibc_main for the _stdio_init and _stdio_term functions. Since weak_aliases are defined as hard aliases for non ELF compilers, these 2 symbols ended up to be multiply defined, as those two are defined in stdio.c.
2002-04-09Revert Erik's changes... they were broken since there weren't enoughManuel Novoa III
bits for the extra ISblank flag. Instead, hardwire isblank() to not depend on locale for now. At least it will work for space and tab in the immenent release. This will all be blown away for the next release anyway, as I should be committing my new stuff in the next day or two.
2002-04-09Support ISblank properlyEric Andersen