summaryrefslogtreecommitdiffstats
path: root/libc/stdio
Commit message (Collapse)AuthorAgeFilesLines
* tabs -> spacesMike Frysinger2005-11-211-2/+2
|
* tabs -> spacesMike Frysinger2005-11-211-2/+2
|
* Hide some morePeter S. Mazinger2005-11-211-2/+2
|
* Hide somePeter S. Mazinger2005-11-2120-45/+53
|
* Remove TOPDIRPeter S. Mazinger2005-11-211-3/+1
|
* Don't build empty objects, remove unused vars, update copyrightPeter S. Mazinger2005-11-217-47/+36
|
* fix tab issue properly by not using tabsMike Frysinger2005-11-206-12/+12
|
* You included the wrong file. Check your work better next time. You get a big ↵"Steven J. Hill"2005-11-201-2/+2
| | | | fat "F" for this one.
* Tab clean-up."Steven J. Hill"2005-11-205-5/+5
|
* dont want to delete the 64.c files anymoreMike Frysinger2005-11-191-1/+1
|
* simplify Makefile rules for handling of LFS files by tweaking the way we ↵Mike Frysinger2005-11-1913-80/+99
| | | | compile the source files as suggested by psm
* touchup whitespaceMike Frysinger2005-11-191-43/+49
|
* make sure we pull in features.hMike Frysinger2005-11-191-0/+1
|
* Hide more of stdio,getdents, use internal __raisePeter S. Mazinger2005-11-1517-52/+52
|
* Update copyright noticePeter S. Mazinger2005-11-152-4/+4
|
* Hide some internally used functionsPeter S. Mazinger2005-11-152-10/+10
|
* Remove #define _STDIO_UTILITY, can't find any use of itPeter S. Mazinger2005-11-082-2/+0
|
* make cp silentMike Frysinger2005-11-081-2/+2
|
* Change comment size_t _fpmaxtostr to ssize_tPeter S. Mazinger2005-11-051-1/+1
|
* Last bits for IMA, now everything can be built w/ DOMULTI=y on gcc-3.4.4 ↵Peter S. Mazinger2005-11-031-8/+18
| | | | with my config (no locale, the rest enabled). Not tested if libc is complete and usable. All the files listed in *_NO_MULTI need love, best would be to replace all multisources w/ single sources.
* tweak rules so we dont have to copy the .c files to get 64bit versionsMike Frysinger2005-11-021-3/+2
|
* Only because of multi sources I had to touch up these and add code duplicationPeter S. Mazinger2005-11-011-3/+12
|
* Remove last unused references to libc-a-pic-, we use only the lists in ↵Peter S. Mazinger2005-11-011-1/+0
| | | | libc-a-y for objects that go into static libs, changing their suffix to .os, of they should be PIC
* Replace all Makefiles for new build infrastucturePeter S. Mazinger2005-10-291-143/+8
|
* All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other ↵Peter S. Mazinger2005-10-251-0/+143
| | | | archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally.
* Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵Peter S. Mazinger2005-10-121-19/+12
| | | | objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much.
* Clean up pthread include mess. Some of these will be needed to support NPTL, ↵"Steven J. Hill"2005-10-041-0/+4
| | | | but they do no harm for the linuxthreads case. Yes, I tested this.
* weaks moved after the related function so gcc4 won't warnPeter S. Mazinger2005-09-2223-130/+126
|
* enable flockfile and friends if threads are not enabledPeter S. Mazinger2005-09-211-2/+0
|
* Sigh... I wasn't checking for output errors. NIST/PCTS caught it.Manuel Novoa III2005-07-302-217/+279
| | | | | | Hack in some temporary fixes until I have time to clean it up a bit more. Also rework _fpmaxtostr to reduce the size a bit and (hopefully) allow it to build for m68k (vapier tested an earlier version a while back).
* Fix string.h. Change our _susv3_strerror_r to __xpg_strerror_r for glibcManuel Novoa III2005-07-283-3/+3
| | | | | compatibility. Also change _glibc_strerror_r to __glibc_strerror_r for consistency.
* Forgot to change name of builtin buffer during last rewrite.Manuel Novoa III2005-03-211-3/+2
|
* Revert last commit. If I had wanted to include that patch, I would have doneManuel Novoa III2005-03-171-3/+3
| | | | it myself at least a year and a half ago.
* http://bugs.uclibc.org/view.php?id=165Mike Frysinger2005-03-161-3/+3
| | | | | | d1mag writes: Compilation of _fpmaxtostr.c generate an internal error by m68k-elf-gcc, and this patch has been used in uClinux-dist to fix it.
* When I broke up the stdio code, the "support pre C99 compilers" va_copy compatManuel Novoa III2005-02-142-34/+2
| | | | | | | | | define was no longer visible to vasprintf. I didn't catch this since I no longer use such old tools. Unfortunately, some well-meaning but misguided individual decided to just cut-and-paste the macro. :-( Try to clean up the situation by putting it into a header that can be overriden by any archs that need to. If this breaks for anyone (as I said, I no longer use such old tools and so haven't tested), let me know and I'll fix it.
* Define va_copy for pre-C99 compilers (code taken from vfprintf.c).Peter Kjellerstedt2005-02-091-0/+13
|
* merge parallel build supportMike Frysinger2005-01-251-7/+5
|
* Avoid compiler warnings.Peter Kjellerstedt2005-01-192-0/+8
|
* Fix a couple of issues in configurations I hadn't tested.Manuel Novoa III2004-05-071-0/+2
|
* Oops.. The custom stream funcs should only be compiled if wanted.Manuel Novoa III2004-02-131-2/+4
|
* New stdio core. Should be more maintainable. Fixes a couple of bugs.Manuel Novoa III2004-02-11100-7225/+8657
| | | | | | | | Codepaths streamlined. Improved performance for nonthreaded apps when linked with a thread-enabled libc. Minor iconv bug and some locale/thread related startup issues fixed. These showed up in getting a gcj-compiled java helloworld app running. Removed some old extension functions... _stdio_fdout and _stdio_fsfopen.
* Fix __freadable and __fwritable... were using '~' instead of '!'. (ugh)Manuel Novoa III2004-01-021-10/+13
| | | | | | Fix (hopefully) a potential problem with failed freopen() calls. The fix isn't tested since I've been working on the replacement stdio core code which will go in after the next release.
* Oops... temporarily support the old stdio code.Manuel Novoa III2004-01-021-0/+5
|
* Rewrite popen for SUSv3 compliance.Manuel Novoa III2004-01-021-47/+171
| | | | | | | Added a list of popen()'d to store pids and use waitpid() in pclose(). Loop on waitpid() failure due to EINTR as required. Close parent's popen()'d FILEs in the {v}fork()'d child. Fix failure exit code for failed execve().
* Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III2003-12-271-6/+6
| | | | | | | | | | | | | | | | were including libc-lock.h which had a bunch of weak pragmas. Also, uClibc supplied a number of no-op weak thread functions even though many weren't needed. This combined result was that sometimes the functional versions of thread functions in pthread would not override the weaks in libc. While fixing this, I also prepended double-underscore to all necessary weak thread funcs in uClibc, and removed all unused weaks. I did a test build, but haven't tested this since these changes are a backport from my working tree. I did test the changes there and no longer need to explicitly add -lpthread in the perl build for perl to pass its thread self tests.
* Fix a couple of 'declaration after statement' errors.Manuel Novoa III2003-12-141-1/+1
|
* Fix the return value for fputs when passed an empty string.Manuel Novoa III2003-11-191-1/+4
| | | | | Indirectly detected by gmp-4.1.2 self-tests and reported by "Peter S. Mazinger" <ps.m@gmx.net>.
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-1/+1
| | | | | | | rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).
* Quick fix to make sure vfprintf always checks stream orientation whenManuel Novoa III2003-09-231-0/+19
| | | | wchar support is enabled.
* Modify _stdio_READ to conform with C99, as stdio input behavior uponManuel Novoa III2003-09-221-28/+66
| | | | | | | | | | | | encountering EOF changed with Defect Report #141. In the current standard, the stream's EOF indicator is "sticky". Once it is set, all further input from the stream should fail until the application explicitly clears the EOF indicator (clearerr(), file positioning), even if more data becomes available. Fixed a bug in fgets. Wasn't checking for read errors. Minor thread locking optimizations to avoid some unnecessary locking. Remove the explicit calls to __builtin_* funcs, as we really need to implement a more general solution.