summaryrefslogtreecommitdiff
path: root/libc/stdio
AgeCommit message (Collapse)Author
2008-05-23- for non-threaded, non-macro case we were missing __GI_fputc (for e.g. error.c)Bernhard Reutner-Fischer
2008-05-20replace "if (p) free(p)" by just "free(p)" - free(NULL) is safe.Denis Vlasenko
2008-05-19Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko
in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
2008-04-10remove "register" from _vf[w]printf_internal declarations tooDenis Vlasenko
2008-04-10even more fixes for vda-made breakage in vXXXfprintfDenis Vlasenko
(pointed out by Peter S.Mazinger)
2008-04-09fix breakage in old_vfprintf caseDenis Vlasenko
2008-04-09restore erroneously removed hidden_def for vdprintfDenis Vlasenko
2008-04-09Remove vestigial locking init from sprintf routines.Denis Vlasenko
2008-04-09Factor out the core of vprintf() into separate functionDenis Vlasenko
vprintf_internal, so that: * vprintf() does locking and __STDIO_STREAM_TRANS_TO_WRITE thing, then calls vprintf_internal * vsnprintf, vdprintf.c, vasprintf.c use vprintf_internal directly This makes sprintf faster (since it doesn't do any locking) and stops it from pulling in fseek in static compile.
2008-02-07Fix stack overflow in _ppfs_parsespecCarmelo Amoroso
2008-01-05patch from Hans-Christian Egtvedt to silence some spurious signed warningsMike Frysinger
2007-04-14- dtrtBernhard Reutner-Fischer
2007-02-08Paul Brook writes:Mike Frysinger
I'm seeing a hang in applications that open and close files with a non-threaded uClibc. There is code in fclose() to remove a file handle from _stdio_openlist however it's commented out, allegedly because it is dead. _stdio_openlist is used in several places, including _stdio_term when a program exits. fclose() frees the struct, so I don't see how the code can possibly be redundant. In the __UCLIBC_HAS_THREADS__ && __STDIO_BUFFERS case the file is removed from _stdio_openlist by __STDIO_OPENLIST_DEC_USE. The attached patch fixes this bug be re-enabling the code.
2007-01-29fix from Atsushi Nemoto for displaying of 64bit typesMike Frysinger
2007-01-29fix from Roman Kononov for reading in of 64bit typesMike Frysinger
2007-01-20- Trim superfluous trailing whitespace. No obj-code changes.Bernhard Reutner-Fischer
2006-12-22- provide a hidden_def for fputc_unlocked that is aliased to __fputc_unlocked.Bernhard Reutner-Fischer
Fixes undefined references to __fputc_unlocked when calling fputc().
2006-12-20Paul Brook writes:Mike Frysinger
When building an arm-uclinux toolchain withthreading disabled I get: libc/stdio/getchar.c:26: error: 'getchar' aliased to undefined symbol 'getchar_unlocked' It looks like it's missing libc_hidden_def(getchar_unlocked). Patch below fixes this.
2006-12-15Patch from Bernhard Fischer:Eric Andersen
fix compilation if PUTC_MACRO and/or GETC_MACRO is turned off
2006-12-12Fix/disable locking when pthreads is disabledEric Andersen
2006-12-08Fill in a few more of the missing pieces...Eric Andersen
2006-12-07Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen
things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
2006-12-07Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen
things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
2006-12-06stdio update from mjn3Eric Andersen
2006-07-05fixup my copyright notice, trim stale remnants of older notices whichEric Andersen
I had clearly run search/replace on that were cluttering things up.
2006-03-23Mark some functions as BSD onlyPeter S. Mazinger
2006-03-22Correct build if UCLIBC_HAS_CTYPE_TABLES is not definedPeter S. Mazinger
2006-03-10Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger
most of global data relocations are back
2006-02-18dont define _stdio_init if it doesnt do anythingMike Frysinger
2006-02-15DOMULTI may be used for libc, the excluded files need work, ↵Peter S. Mazinger
linuxthreads[_db] as well, don't try on slow box
2006-02-14sync with glibc and get a nice size shrinkage in the processMike Frysinger
2006-02-13libc-{a,so,multi}-y replaced by libc-y covering common objects both in ↵Peter S. Mazinger
libc.a/libc.so, the diffs go into libc-static-y/libc-shared-y exclusively, add IMA to libc, don't use any MSRC anymore
2006-02-13Mark functions as GNU extensionsPeter S. Mazinger
2006-02-13Remove unused prototypesPeter S. Mazinger
2006-02-13Add files for IMA. Yes, I know it's a hack and no, I won't split the ↵Peter S. Mazinger
affected files
2006-02-13More renames for IMAPeter S. Mazinger
2006-02-01missed another global data markingPeter S. Mazinger
2006-02-01global data uses libc_hidden_data_def, convert all -I hope- and add some newPeter S. Mazinger
2006-01-27Do not build *64 and llseek, correct some failure when LFS is disabledPeter S. Mazinger
2006-01-26Get rid of missing prototype warningsPeter S. Mazinger
2006-01-26Allow for targets that don't know about signed zero floats."Jan-Benedict Glaw"
2006-01-22Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger
is a useless attempt
2006-01-21fix unused warningsMike Frysinger
2006-01-17Build if GETC_MACRO use is disabledPeter S. Mazinger
2006-01-16Last relocs jump and global data, (even locales) that I could remove are ↵Peter S. Mazinger
gone from libc. The remaining are left as exercise for others ;-)
2006-01-16some global data relocs gonePeter S. Mazinger
2006-01-15make gcc4 happy w/ hidden_def/proto, correct some typosPeter S. Mazinger
2006-01-15Correct old_vfprintf internal version and make it reloc freePeter S. Mazinger
2006-01-15only declare vfork when needed, else no-mmu build failsMike Frysinger
2006-01-14same for __fputc_unlockedPeter S. Mazinger