summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
AgeCommit message (Collapse)Author
2002-06-21Fix support for 2.0.x linux kernels. Oops.Eric Andersen
-Erik
2002-06-18Cleanup the getcwd implementation (again) since I broke itEric Andersen
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
2002-06-18Eliminate all the pointless globals from getcwd(). DefaultEric Andersen
to using the getcwd syscall instead, when it is present. -Erik
2002-06-18Kill kernel_version.c, which is completely meaningless crapEric Andersen
and didn't even work. -Erik
2002-06-18Fix perror() and printf("%m") to not call strerror(), as required by theManuel Novoa III
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.
2002-06-17Add support for sigtimedwait and sigwaitinfoEric Andersen
-Erik
2002-06-10Kill the libc-lock headers, which we do not use and which areEric Andersen
not correct for uClibc. Fix setenv locking to behave itself. -Erik
2002-05-30Doh! A silly typo broke select...Eric Andersen
-Erik
2002-05-30Make these properly cope with 64bit systemsEric Andersen
-Erik
2002-05-30Fixup some silly bugs I added earlierEric Andersen
-Erik
2002-05-30Make syscalls.c way more generic. Now works on alpha...Eric Andersen
-Erik
2002-05-23Several h8300 updates from Yoshinori Sato <qzb04471@nifty.ne.jp>Eric Andersen
2002-05-20Changes needed for MIPS with regards to the .init and .fini sections."Steven J. Hill"
2002-05-12Fixes for 64 bit archesEric Andersen
2002-05-12Small cleanups for alphaEric Andersen
2002-05-12Add a default syscalls.h that will just error out.Eric Andersen
Add in syscalls.h for alpha.
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-24Add support for mmap64Eric Andersen
-Erik
2002-04-17Stub out pread and pwrite when not availableEric Andersen
2002-04-10Some minor updates per discussion with Miles BaderEric Andersen
-Erik
2002-04-09Fixup __USE_FILE_OFFSET64Eric Andersen
2002-04-09Add creat64Eric Andersen
-Erik
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-09Create a much more careful ftruncate64 implementation, that shouldEric Andersen
address all the concern Miles had with the earlier versions... -Erik
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-03Teach initfini to build properly on arches where gcc tries to beEric Andersen
sneaky behind our back... -Erik
2002-04-03Be certain thatEric Andersen
2002-04-03m4@brecis.COM noticed a typing problem with the getuid syscall. OOps.Eric Andersen
2002-04-01Patch from Miles Bader to fix the spots I'd messed up.Eric Andersen
2002-03-31Add support for getrlimit64 and setrlimit64. Fix some problemsEric Andersen
with the getrlimit and setrlimit syscalls. -Erik
2002-03-21Remove include file, in case it is broken. We don't need it here.Eric Andersen
-Erik
2002-03-20Doh! search-n-replace bites againEric Andersen
2002-03-20s/off_t/__off_t/gEric Andersen
2002-03-16Build crti.o and crtn.o with optimization enabledEric Andersen
-Erik
2002-03-14Oops! When I fixed the debug flags, I forgot to make things beEric Andersen
PIC, so do that now. -Erik
2002-03-14Do not enable debugging for initfini.s and friends. Won't work anyways.Eric Andersen
-Erik
2002-03-13Build our own crti.o and crtn.o with a cross arch method that IEric Andersen
can live with much better the what glibc does. -Erik
2002-03-12Fix another O_LARGEFILE bug. Also, I forget to make floating point optionalManuel Novoa III
in the new printf code.
2002-03-12Oops.. had left thread support forced on.Manuel Novoa III
2002-03-12Fixup redefinition of NL_ARGMAXEric Andersen
2002-03-12Swap in the new stdio code.Manuel Novoa III
2002-03-05Remove sys/io.h include, since not everyone has itEric Andersen
2002-03-01Fix for some comments, from Miles BaderEric Andersen
2002-03-01Major rework of the include files to eliminate redundancyEric Andersen
and to better support each arch. This is a really big patch... -Erik
2002-02-26Patch from Miles Bader to restrict common truncate64/ftruncate64Eric Andersen
syscalls to 64-bit systems, since we can't be sure that the _syscall macros can cope with 64 bit args on 32 bit arches.
2002-02-26Enable pread/pwriteEric Andersen