summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2002-08-27Added __kernel_fsid_t to satisfy some apps that need it.David McCullough
Definitions taken from 2.4 kernel sources for each of the platforms.
2002-08-26Implement missing readdir64_r.cEric Andersen
-Erik
2002-08-26sparc, alpha, and mips have different errno values than the otherManuel Novoa III
supported platforms. Adjust _susv3_strerror_r function to deal with this. Also fix an error in strerror() wrt invalid errnos. NOTE: sys_errlist and sys_nerr are no longer supported!!!
2002-08-26Oops. I got the include guard wrong. Fix it per currentEric Andersen
value in include/asm-v850/posix_types.h on cvs.uclinux.org -Erik
2002-08-26Make bits/kernel_types.h include guard names match the includeEric Andersen
guard names used by the kernel's asm/posix_types.h to eliminate gratuitous conflicts and let our file win over the very-likely- to-be-broken kernel header file. -Erik
2002-08-26Initial checkin.Miles Bader
2002-08-25Changed fclose behavior when custom streams were enabled. Previously,Manuel Novoa III
the cookie pointer was set to NULL as a debugging aid. However, some of the perl 5.8 test rely on being able to close stderr and still try writing to it. So now, the cookie pointer and handler function pointers are set to that it is a "normal" file with a file descriptor of -1. Note: The cookie pointer is reset to NULL if the FILE struct is free'd by fclose.
2002-08-25Kill the HAS_LONG_LONG option. It really did not make a lot ofEric Andersen
sense to exclude it, gcc always supports long long, and we never fully excluded long long anyways (off64_t for example). -Erik
2002-08-25Use the kernel version of struct msqid_ds directly, since we don'tEric Andersen
do any of that silly translating... -Erik
2002-08-25Finish off the bits/kernel_stat.h cleanup for properEric Andersen
__USE_FILE_OFFSET64 handling. -Erik
2002-08-25Make shm stuff work properly.Eric Andersen
-Erik
2002-08-24Tweak things so that struct stat and struct stat64 (seem to) work onManuel Novoa III
i386. This is for Erik to look at wrt the other archs.
2002-08-24Avoid `ECANCELED' redefined on mipsEric Andersen
-Erik
2002-08-24Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen
header, which is not directly usable for many architectures. -Erik
2002-08-24Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen
header, which is not directly usable for many architectures. -Erik
2002-08-23Split out the definition of struct stat into the new archEric Andersen
specific bits/kernel_stat.h file. -Erik
2002-08-23Split out the arch dependant errno_values.h junk into arch dependant files.Eric Andersen
-Erik
2002-08-23(initfini.s): Search the uClibc include dir, so we can find <features.h>.Miles Bader
2002-08-22Rework struct stat/stat64 handling to eliminate kernel headersEric Andersen
-Erik
2002-08-22Rework errno handling to be kernel header freeEric Andersen
-Erik
2002-08-22Support _syscall6 and _syscall7 for armEric Andersen
-Erik
2002-08-22Hide .hidden stuff unless explicitly enabledEric Andersen
-Erik
2002-08-21Revert mode_t change. Sigh. As Manuel so eloquently put it: "this is the wayEric Andersen
we hose our code... hose our code... hose our code... this is the way we hose our code... all thanks to glibc" -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-19Fixup struct _res handling so apps using struct _res can actuallyEric Andersen
compile ("worst standard ever!") -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-19Work from Stefan Allius which allows superH to use the commonEric Andersen
method for building crti.o and crtn.o
2002-08-19Be prepared to call __pthread_initialize_minimalEric Andersen
2002-08-19(CSRC): Make contents source files, not object files.Miles Bader
2002-08-19(CSRC): Add `memalign.c'.Miles Bader
2002-08-19Initial checkin.Miles Bader
2002-08-19(realloc): Follow new arg conventions of MALLOC_SET_SIZE.Miles Bader
2002-08-19(malloc): Use MALLOC_SETUP.Miles Bader
2002-08-19(MALLOC_SETUP): New macro.Miles Bader
(MALLOC_SET_SIZE): Take the base-address of the block, not the user-address. (MALLOC_ADDR): Macro removed.
2002-08-18Directly use kernel types for uid_t, gid_t, and dev_t to avoid theEric Andersen
need to translate these entities... -Erik
2002-08-18Yet more rework to make __getgrent and the functions that use itEric Andersen
reentrant... -Erik
2002-08-18Fix broken locking so that at least the Python 2.2.1 grp test doesn'tManuel Novoa III
lock up. This really needs to be looked at, as I don't think this needs to be reentrant. In any case, several routines call the __getgrent internal routine and it uses static vars for data. If this stuff is really supposed to be threadsafe, then __getgrent probably needs fixing.
2002-08-18Remove recursive lock/unlock for a non-recursive mutex.Manuel Novoa III
2002-08-17Fixed __read_etc_hosts_r to return alias list and modified bufferManuel Novoa III
allocation accordingly. This fixes the segfault in the Python 2.2.1 socket test.
2002-08-17Fix two problems with printf that showed up in the python 2.2.1 tests;Manuel Novoa III
One involving %o and one involving %f.
2002-08-16whitespaceMiles Bader
2002-08-16Remove __res_state function.Miles Bader
2002-08-16Make INCLUDE_FULL_RPC default to !HAVE_SHARED.Miles Bader
2002-08-16(errno): Only define as a macro if __UCLIBC_HAS_THREADS__ is defined.Miles Bader
(__set_errno): Just assign to `errno' (which will be expanded to the thread-friendly version when appropriate).
2002-08-16Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen
-Erik
2002-08-15Patch from Jarkko to fix drand48 to not use long long whenEric Andersen
long long support is disabled in the uClibc Config.
2002-08-14Use __malloc_unlikely instead of `likely'.Miles Bader
2002-08-14Add flow-control hints with __malloc_likely and __malloc_unlikely.Miles Bader
2002-08-14(__malloc_likely, __malloc_unlikely): New macros.Miles Bader