summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2002-05-11Majorly rework to also cope with architectures which do not useEric Andersen
the socketcall system call, but instead implement each fundamental networking function directly as a system call. -Erik
2002-05-11Oops. Stupid typo.Eric Andersen
2002-05-11Adjust preprocessor logic to initialize QUAL_CHARS correctly for Erik's alphaManuel Novoa III
port. Also, explicitly use the macro versions of isdigit and isspace in the printf and scanf code.
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-10Protect against ctype macros.Manuel Novoa III
2002-05-10First pass attempt at an alpha portEric Andersen
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-25Use __off64_t instead of off64_t.Miles Bader
2002-04-25Stupid libgcc.a from gcc 2.95.x uses __write in pure.oEric Andersen
which is a blatent GNU libc-ism... Cope. -Erik
2002-04-25Don't bother zeroing BSS, since actually we _can_ rely on the loader to do it.Miles Bader
2002-04-24Add support for mmap64Eric Andersen
-Erik
2002-04-17Patch from Axel Barnitzke <barney@xkontor.com> to add basicEric Andersen
support for struct _res. This is a minimalist implementation, but should work for most anything out there.
2002-04-17Patch from Mike McDonald to make gethostbyname_r() not fail for things likeEric Andersen
gethostbyname("192.168.0.1"), which should work even when the /etc/hosts and /etc/config/hosts files do not exist.
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-17Stub out pread and pwrite when not availableEric Andersen
2002-04-17Change branch to fallthrough. Unclean, but it removes last R_PPC_REL24.David Schleef
2002-04-17Just tail-call __uClibc_main. There's no real point to calling abort ifMiles Bader
exit failed, and abort drags in some unecessary grot.
2002-04-15(L_dummy_main_reference): Reference the C symbol `main', not the linkerMiles Bader
symbol `main'.
2002-04-14Fix dummy main reference so it works...Eric Andersen
2002-04-14Manuel and I were looking into a problem with applications failing to linkEric Andersen
(undefined reference to `main') when the .o file containing main was contained in an static library(a '.a' ar archive). It turns out that due to its single pass nature, GNU ld was failing to pull it into the build. This sticks a dummy reference to main() into crt0.o, so that when an application is linked with the main() function in a static library, we can be sure that main() actually gets linked in. -Erik
2002-04-13Fixed stpncpy() implementation from ManuelEric Andersen
2002-04-13Patch from Jim Treadway <jim@stardot-tech.com>:Eric Andersen
The internal __getgrent function doesn't allocate enough memory to hold the trailing NULL pointer in the gr_mem member of the returned 'struct group *'.
2002-04-11Fixed broken shell syntax.David McCullough
2002-04-10John Traill <john.traill@motorola.com> noticed that on powerpcEric Andersen
a dev_t is _not_ a quad type, but a simple int. Doh! We fixed that months ago, but subsequently lost the fix, so this restores things.
2002-04-10Some minor updates per discussion with Miles BaderEric Andersen
-Erik
2002-04-10Make assembly code PIC-compatible.David Schleef
2002-04-10Remove v850-specific versions of truncate64.c and ftruncate64.c.Miles Bader
2002-04-10Generic implemention works for v850 now, so we don't need a special version.Miles Bader
2002-04-09Fixup __USE_FILE_OFFSET64Eric Andersen
2002-04-09Add creat64Eric Andersen
-Erik
2002-04-09Fix the read/write auto-transition bugs. Note that if we can'tManuel Novoa III
auto-transition, we fail the operation. This is different than glibc's apparent behavior for writing of clearing the read buffer and still failing the write without setting the stream's error flag. Also, change a number of "errno = xxx" assignments to use __set_errno(). Also, change setvbuf(file, NULL, _IO{LF}BF, 0) behavior to more closely match glibc's by keeping the current buffer and only changing the buffering mode. Update setlinebuf() in the process to match the man page behavior.
2002-04-09Only set no buffering if we opened the file. Also, don't bother restoringManuel Novoa III
buffering since we will close the file in that case anyway.
2002-04-09Re-enable clnt_perror. Patch from Miles Bader.Eric Andersen
2002-04-09Add truncate64.cEric Andersen
2002-04-09Remove from syscalls.c, leave just ftruncate64.c and truncate64.cEric Andersen
which have implementations that works... -Erik
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-09Create a much more careful ftruncate64 implementation, that shouldEric Andersen
address all the concern Miles had with the earlier versions... -Erik
2002-04-09Per discussion on the mailing list, fix getpass properly.Eric Andersen
-Erik
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-06Faster implementation from Miles BaderEric Andersen
2002-04-05Patch from Axel Barnitzke <barney@xkontor.com> to fixupEric Andersen
a problem with getpass() echoing passwords...
2002-04-05Add a fun pointer to make apps happyEric Andersen
2002-04-03Teach initfini to build properly on arches where gcc tries to beEric Andersen
sneaky behind our back... -Erik
2002-04-03Revert this file back to where it was so m68k can compile again.Eric Andersen
Oops. I'd hosed things up for m68k with the header file rework. -Erik