summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix fflush(NULL) and tweak _stdio_term() for the unbuffered stdio option.Manuel Novoa III2002-03-121-2/+10
|
* Oops.. had left thread support forced on.Manuel Novoa III2002-03-121-1/+1
|
* Fix a segfault in scandir for empty directories. After looking overEric Andersen2002-03-121-65/+77
| | | | | our version, I'm adopting the scandir from glibc (with minor changes) instead as it seems simpler and already correct.
* Fixup redefinition of NL_ARGMAXEric Andersen2002-03-122-3/+3
|
* Deal with cvs "feature"... or is that cvs _user_...Manuel Novoa III2002-03-122-0/+5204
|
* Swap in the new stdio code.Manuel Novoa III2002-03-1224-2281/+816
|
* Avoid forced -lpthread lnkage when threading is enabledEric Andersen2002-03-091-1/+1
|
* Remove sys/io.h include, since not everyone has itEric Andersen2002-03-051-2/+0
|
* Initial checkinMiles Bader2002-03-052-0/+135
|
* Re-add files which were mistakenly deleted during the big bits/ update.Miles Bader2002-03-058-0/+521
|
* Remove extraneous fileMiles Bader2002-03-051-10/+0
|
* Remove generated stuff, restore sh/sys/procfs.h from M. R. BrownEric Andersen2002-03-024-498/+119
|
* Move syscall.h generation to the top level MakefileEric Andersen2002-03-019-9/+0
| | | | -Erik
* Patch from Miles Bader to allow Large File support on the v850.Eric Andersen2002-03-013-3/+70
|
* Fix for some comments, from Miles BaderEric Andersen2002-03-011-4/+2
|
* Patch from M. R. Brown <mrbrown@0xd6.org> to fix pthread supportEric Andersen2002-03-013-1/+139
| | | | for SH, and fix vfork
* Major rework of the include files to eliminate redundancyEric Andersen2002-03-01568-57384/+3065
| | | | | and to better support each arch. This is a really big patch... -Erik
* A few more little cleanupsEric Andersen2002-02-262-3/+3
|
* Don't redefine stuffEric Andersen2002-02-264-10/+31
|
* Be consistant and use an unsigned char * throughoutEric Andersen2002-02-261-2/+3
|
* don't pretend to be reentrant yetEric Andersen2002-02-261-0/+6
|
* Fix redefine problemEric Andersen2002-02-261-2/+5
|
* Fix redefinition problemEric Andersen2002-02-264-12/+40
|
* Give the label a ; so compilers have no excuse to whineEric Andersen2002-02-261-1/+3
|
* Patch from Miles Bader to restrict common truncate64/ftruncate64Eric Andersen2002-02-261-17/+34
| | | | | 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.
* Proper support for setting h_errnoEric Andersen2002-02-263-2/+17
|
* Fix rpc + threads so it now compiles.Eric Andersen2002-02-261-21/+60
|
* Thomas Fritzsche noticed that __open_etc_hosts was only changing aEric Andersen2002-02-261-6/+6
| | | | | | local copy of the FILE pointer, thereby causing /etc/hosts lookups to fail with Resolver errors. This patch from Thomas fixes the problem.
* Enable pread/pwriteEric Andersen2002-02-261-8/+0
|
* I shouldn't try to program when sleepy, since I totally botchedEric Andersen2002-02-251-4/+4
| | | | | the fcntl interface... -Erik
* When messing with fd NONBLOCK status, put things back the way we foundEric Andersen2002-02-251-1/+4
| | | | | | them afterwards. As was, this hosed things up for fds shared with a parent process. Very bad for shells... Oops. -Erik
* Try this version instead...Eric Andersen2002-02-251-4/+7
|
* Support isblank()Eric Andersen2002-02-233-3/+21
|
* IEEE Std 1003.1-2001 says that the "fclose() function shall fail [with]Eric Andersen2002-02-231-7/+1
| | | | | | | | EINTR [when] the fclose() function was interrupted by a signal". But looking in the current uClibc stdio.c for some bizarre reason we had a special case where when errno was EINTR, we would keep on trying instead. Doh! Fix that, -Erik
* Several naming cleanups so threads work properly againEric Andersen2002-02-233-79/+51
|
* Per discussion with Manuel, when we call __stdio_flush_buffersEric Andersen2002-02-231-1/+9
| | | | | | from abort() and from _exit(), we need to ensure that flushing will not cause us to block. So use fcntl to set the fd's to non-block mode...
* Several mips fixes from Geoffrey Espin. With these, busybox withEric Andersen2002-02-224-6/+32
| | | | ash/vi/etc now works just fine with uClibc on mips.
* When vfork is not available and we have an MMU, then use fork()Eric Andersen2002-02-213-7/+21
| | | | -Erik
* Miles Bader noticed that I'd messed up by always pullingEric Andersen2002-02-211-4/+2
| | | | | errno in, regardless of whether it is being used... -Erik
* Fix from John Rigby to fix stat() so it actually works.Eric Andersen2002-02-201-1/+4
|
* oops. I had accidentally typed in "clean" when I meant "clone".Eric Andersen2002-02-201-1/+1
| | | | | This fix makes pthreads actaully work on powerpc. -Erik
* This is a bit less messyEric Andersen2002-02-201-26/+11
|
* Merge in the pthread library. This is the linuxthreads library taken fromEric Andersen2002-02-2011-27/+247
| | | | | | | | glibc 2.1.3 and ported to work with uClibc by Stefan Soucek and Erik Andersen (me). Stefan has hacked things up such that linuxthreads runs on MMU-less systems (tested only on arm-nommu). Erik cleaned things up and made it work properly as a shared library. -Erik
* Output an error if uClibc's and app's largefile configuration are incompatible.Manuel Novoa III2002-02-191-0/+2
|
* Doh! Miles Bader noticed a couple of spots where I forgotEric Andersen2002-02-192-4/+2
| | | | to mark __stdio_flush_buffers with weak_function. Oops!
* Rename __stdio_close_all to __stdio_flush_buffers. Eliminate anEric Andersen2002-02-184-21/+15
| | | | unnecessary variable
* Doh!Eric Andersen2002-02-181-1/+1
|
* Miles Bader writes:Eric Andersen2002-02-181-1/+2
| | | | | | | | | | Programs that don't use stdio crash in the `exit' function, because they call through the pointer__uClibc_cleanup, which has a value of 0. It has a value of 0 because __uClibc_main.c initializes it to the address of `__stdio_close_all', which is a weak symbol (and so is 0 if stdio is not used). This patch from Miles fixes it, though we need to audit __stdio_close_all usage to be sure...
* Make shared libs properly list the correct ld.so in the interpEric Andersen2002-02-182-4/+14
| | | | field by being sneaky.
* Support strong_alias and begin merging usage of weak_functionEric Andersen2002-02-181-9/+26
|