summaryrefslogtreecommitdiff
path: root/libc/misc
AgeCommit message (Collapse)Author
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
2002-04-09Avoid defining __USE_FILE_OFFSET64, since we do _NOT_ wantEric Andersen
interfaces silently renamed under us or very bad things may happen... -Erik
2002-04-09undefine __USE_FILE_OFFSET64, since we absolutely do _NOT_ want interfacesEric Andersen
silently renamed under us or very bad things will happen. In this case, statfs64() ended up recurively calling statfs64() instead of statfs().... -Erik
2002-04-05Add a fun pointer to make apps happyEric Andersen
2002-04-03Richard June <rjune@bravegnuworld.com> noticed that pututlineEric Andersen
was only writing the first sizeof-a-pointer bytes to the utmp file. oops. -Erik
2002-04-03Richard June <rjune@bravegnuworld.com> noticed that setutentEric Andersen
was only opening utmp readonly. Oops.
2002-04-03Doh! I forgot to commit this...Eric Andersen
2002-04-01Remove function declartions from include/features.h, createEric Andersen
a separate header file for those, and fixup references. -Erik
2002-04-01Patches from Yoshinori Sato <qzb04471@nifty.ne.jp> to fix h8300Eric Andersen
support for pthreads and update for the latest and greatest.
2002-03-31Add glob64.c, and add support for glob64 when large file is enabled.Eric Andersen
-Erik
2002-03-31Rework __gen_tempname() to better match glibc, and add mkstemp64(),Eric Andersen
which is needed for busybox ash when using largefile support. -Erik
2002-03-25Patch from Steven J. Hill to disable __fsetlocking whenEric Andersen
threads are disabled. Bug is my fault. oops. -Erik
2002-03-21Support getttyent and friends so ncurses will compileEric Andersen
2002-03-15Add strptime, and commonize some locale stringsEric Andersen
-Erik
2002-03-15Add missing updwtmp() and fix broken makefileEric Andersen
2002-03-15Support gnu error(), patch contributed by Andrew Ip <aip@cwlinux.com>Eric Andersen
2002-03-15Fix non-elf support (in theory). Revert misguided change suggestedEric Andersen
by arcturusnetworks, since Miles Bader reports it is unnecessary. -Erik
2002-03-14Don't call null ctors/dtors.Eric Andersen
-Erik
2002-03-14This should be the last piece needed to make constructors work (usingEric Andersen
a native gcc toolchain). The gcc wrapper still needs some touchups, but we seem to be _there_. Also some touchups to try and shrink uclinux binary sized by stubbing out unneeded stuff. -Erik
2002-03-14Add some symbols needed for C++ to work. Temporary hack...Eric Andersen
2002-03-12Fix a segfault in scandir for empty directories. After looking overEric Andersen
our version, I'm adopting the scandir from glibc (with minor changes) instead as it seems simpler and already correct.