summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed __read_etc_hosts_r to return alias list and modified bufferManuel Novoa III2002-08-171-7/+26
| | | | | allocation accordingly. This fixes the segfault in the Python 2.2.1 socket test.
* Fix two problems with printf that showed up in the python 2.2.1 tests;Manuel Novoa III2002-08-171-1/+10
| | | | One involving %o and one involving %f.
* whitespaceMiles Bader2002-08-161-0/+1
|
* Remove __res_state function.Miles Bader2002-08-161-12/+0
|
* Make INCLUDE_FULL_RPC default to !HAVE_SHARED.Miles Bader2002-08-161-1/+14
|
* (errno): Only define as a macro if __UCLIBC_HAS_THREADS__ is defined.Miles Bader2002-08-161-3/+4
| | | | | (__set_errno): Just assign to `errno' (which will be expanded to the thread-friendly version when appropriate).
* Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen2002-08-165-20/+20
| | | | -Erik
* Patch from Jarkko to fix drand48 to not use long long whenEric Andersen2002-08-152-0/+46
| | | | long long support is disabled in the uClibc Config.
* Use __malloc_unlikely instead of `likely'.Miles Bader2002-08-141-1/+4
|
* Add flow-control hints with __malloc_likely and __malloc_unlikely.Miles Bader2002-08-141-5/+7
|
* (__malloc_likely, __malloc_unlikely): New macros.Miles Bader2002-08-141-0/+10
|
* Handle zero NEW_SIZE case.Miles Bader2002-08-141-45/+54
|
* (CSRC): Add syscall.cMiles Bader2002-08-141-1/+1
|
* Initial checkin.Miles Bader2002-08-141-0/+43
|
* __fsetlocking() and FILE field user_locking were completely broken. :-(Manuel Novoa III2002-08-133-9/+26
| | | | | | I think they're fixed now (I've run a few tests). Note: __fsetlocking() is not threadsafe... but glibc's doesn't appear to be either.
* Use `return' for null pointers, to avoid a giant block holding the restMiles Bader2002-08-131-95/+95
| | | | of the function.
* I missed a spot.Eric Andersen2002-08-121-0/+2
| | | | -Erik
* Doh! missed a spot.Eric Andersen2002-08-121-0/+2
| | | | -Erik
* Fix use of __pthread_once, and fix rpc usage of thread localEric Andersen2002-08-122-10/+1
| | | | | storage.... -Erik
* Revert commit by davidm to printf.c that initialized conv_numManuel Novoa III2002-08-127-34/+41
| | | | | | | | | 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.
* Geez I'm an idiot some times. I shouldn't code when I'm exhausted.Eric Andersen2002-08-121-1/+2
| | | | | | I _totally_ screwed up the locking on exit and atexit such that it didn't do any good at all. -Erik
* Ugh. Make uClibc cross compile with gcc 2.95.x and threads. I wonderEric Andersen2002-08-111-20/+20
| | | | | if this is serious enough to warrent 0.9.14? -Erik
* Add missing thread-safe locking.0_9_13Eric Andersen2002-08-091-0/+27
| | | | -Erik
* Add in __uClibc_syscallEric Andersen2002-08-091-1/+1
|
* Initial piece of unified syscall support from Brecis CommunicationsEric Andersen2002-08-091-0/+45
|
* New and improved fork for mips, thanks to the fine folksEric Andersen2002-08-092-1/+66
| | | | at Brecis Communications.
* Fix a number of compile time warnings so that uClibc will build with -Werror ↵David McCullough2002-08-093-2/+5
| | | | | | using a 3.0.4 version of the sh-linux-gcc compiler.
* pread and pwrite were broken in several ways:David McCullough2002-08-091-19/+23
| | | | | | | | | | | | | | * pwrite was using the write system call. * SYSCALL_INLINE was only defined for pread and reused by pwrite meaning pwrite did a pread :-). * The kernel pread/pwrite interfaces always take a 64bit value. So the libc versions must do the LONG_LONG_PAIR stuff otherwise the pread/pwrite calls will not work. These guys are working now for SH at least (and I can format my DiskOnChip again ;-)
* At some stage I was getting conflicts on the SH platform withDavid McCullough2002-08-091-2/+2
| | | | | the two i_am_not_a_leaf functions, changing the name of one is harmless and fixed the problem at the time. Not entirely sure it's still required.
* Changes so that this file builds if we are not using threads.David McCullough2002-08-091-3/+2
|
* Be more path independentEric Andersen2002-08-091-1/+1
|
* Doh! I broke it. oops. Patch from Stefan Allius to fix it.Eric Andersen2002-08-091-1/+1
|
* Cleanup error returns to avoid warningsEric Andersen2002-08-091-8/+8
| | | | -Erik
* Oops. missed a spot.Eric Andersen2002-08-081-1/+1
| | | | -Erik
* Shuffle things around a bit. Looks a little cleaner.Eric Andersen2002-08-081-56/+21
| | | | -Erik
* I reworked syscalls.h to match how I'm doing other arches. Stefan Allius andEric Andersen2002-08-085-31/+197
| | | | | | Edie C. Dost has some concerns about the perl script used to general crti.o and crtn.o and added their own versions. These versions will win since they are built last,
* Fix a silly bug with using fstat64 instead of just fstat. NoEric Andersen2002-08-081-2/+2
| | | | | reason for 64bit stuff just to check perms. -Erik
* Disable unused unifed stuffEric Andersen2002-08-081-3/+0
| | | | -Erik
* Fix lockingEric Andersen2002-08-0814-177/+372
| | | | -Erik
* Fix lockingEric Andersen2002-08-081-0/+19
|
* Cleanup warnings and fix prototypesEric Andersen2002-08-081-16/+11
| | | | -Erik
* Add missing include fileEric Andersen2002-08-081-0/+1
|
* Cleanup some silly warningsEric Andersen2002-08-085-5/+11
|
* Avoid bad things happening on macro expansion...Eric Andersen2002-08-081-2/+7
| | | | -Erik
* Add getrpcent.c to default rpc buildEric Andersen2002-08-071-1/+2
|
* Remove some noiseEric Andersen2002-08-071-13/+0
|
* Changed my mind. Keep this separate.Eric Andersen2002-08-071-0/+41
| | | | -Erik
* Rewrite getenvEric Andersen2002-08-071-25/+0
|
* rework getopt. no read need to split this one up sinceEric Andersen2002-08-072-583/+502
| | | | the parts are so tightly coupled.
* Apply integer overflow security fix for "CERT Advisory CA-2002-25 IntegerEric Andersen2002-08-071-1/+6
| | | | | Overflow In XDR Library" http://www.cert.org/advisories/CA-2002-25.html Patch from Solar Designer <solar@openwall.com>.