Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - less verbose make clean | Bernhard Reutner-Fischer | 2008-11-07 | 1 | -4/+4 |
| | |||||
* | - Fix __user_locking with stdio buffers (Carmelo AMOROSO) | Bernhard Reutner-Fischer | 2008-11-02 | 1 | -1/+1 |
| | | | | Closes #5254 | ||||
* | Fix up memset() argument ordering in open_memstream(). Previously | Paul Mundt | 2008-09-21 | 1 | -2/+2 |
| | | | | | | parts of the buffers were not being zeroed out as expected. Reported by Dmytro Gorbunov <dmitro.gorbunov@gmail.com>. | ||||
* | Fix some locale multibyte tests failures ad below: | Carmelo Amoroso | 2008-09-09 | 1 | -3/+0 |
| | | | | | | | | | | | libc/stdlib/_strtod.c -> tst_wcstod; libc/stdlib/stdlib.c -> tst_mblen, tst_mbtowc, tst_wctomb; libc/stdio/_scanf.c -> tst_swscanf; libc/string/strncmp.c -> tst_wcsncmp; libc/misc/wchar/wchar.c -> tst_mbrlen, tst_mbrtowc, tst_wcswidth. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> | ||||
* | Fix problem in vfprintf when assertion are enabled. | Carmelo Amoroso | 2008-09-09 | 1 | -2/+1 |
| | | | | | | | | | | | Here follow the output of my analysis: __stdio_fwrite expects at least 1 bytes. fputs_unlocked(S,F) calls fwrite_unlocked and this calls __stdio_fwrite only if bytes to be written are > 0, otherwise simply returs 0 (that is correct). During the parsing of format spec it could happen that __stdio_fwrite is called passing an empty string and with assertion enabled it will abort. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> | ||||
* | - trim any trailing whitespace | Bernhard Reutner-Fischer | 2008-07-23 | 10 | -30/+30 |
| | |||||
* | Remove __PRINTF_INFO_NO_BITFIELD hack, UCLIBC_INTERNAL can be used instead, | Denis Vlasenko | 2008-06-03 | 2 | -4/+0 |
| | | | | | | | | | and it's slightly shorter. Also removes stray macros from public <printf.h> header and uses spaces for comment indentation. No code changes (verified with objdump). | ||||
* | suppress a few "might be used uninitialized" warnings. No code growth. | Denis Vlasenko | 2008-06-01 | 1 | -2/+2 |
| | |||||
* | - Avoid warning about undefined preprocessor token. No obj-code changes. | Bernhard Reutner-Fischer | 2008-05-30 | 2 | -2/+2 |
| | |||||
* | - avoid warning about cast from pointer to integer of different size | Bernhard Reutner-Fischer | 2008-05-23 | 1 | -1/+1 |
| | |||||
* | - for non-threaded, non-macro case we were missing __GI_fputc (for e.g. error.c) | Bernhard Reutner-Fischer | 2008-05-23 | 1 | -0/+2 |
| | |||||
* | replace "if (p) free(p)" by just "free(p)" - free(NULL) is safe. | Denis Vlasenko | 2008-05-20 | 1 | -3/+1 |
| | |||||
* | Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL block | Denis Vlasenko | 2008-05-19 | 14 | -25/+25 |
| | | | | | | | | | 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. | ||||
* | remove "register" from _vf[w]printf_internal declarations too | Denis Vlasenko | 2008-04-10 | 1 | -2/+2 |
| | |||||
* | even more fixes for vda-made breakage in vXXXfprintf | Denis Vlasenko | 2008-04-10 | 3 | -15/+12 |
| | | | | | (pointed out by Peter S.Mazinger) | ||||
* | fix breakage in old_vfprintf case | Denis Vlasenko | 2008-04-09 | 3 | -1/+26 |
| | |||||
* | restore erroneously removed hidden_def for vdprintf | Denis Vlasenko | 2008-04-09 | 1 | -0/+1 |
| | |||||
* | Remove vestigial locking init from sprintf routines. | Denis Vlasenko | 2008-04-09 | 3 | -12/+3 |
| | |||||
* | Factor out the core of vprintf() into separate function | Denis Vlasenko | 2008-04-09 | 9 | -55/+124 |
| | | | | | | | | | | | | 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. | ||||
* | Fix stack overflow in _ppfs_parsespec | Carmelo Amoroso | 2008-02-07 | 1 | -1/+1 |
| | |||||
* | patch from Hans-Christian Egtvedt to silence some spurious signed warnings | Mike Frysinger | 2008-01-05 | 3 | -10/+10 |
| | |||||
* | - dtrt | Bernhard Reutner-Fischer | 2007-04-14 | 1 | -2/+4 |
| | |||||
* | Paul Brook writes: | Mike Frysinger | 2007-02-08 | 1 | -29/+24 |
| | | | | | | | | | | | | | | 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. | ||||
* | fix from Atsushi Nemoto for displaying of 64bit types | Mike Frysinger | 2007-01-29 | 1 | -1/+1 |
| | |||||
* | fix from Roman Kononov for reading in of 64bit types | Mike Frysinger | 2007-01-29 | 1 | -1/+1 |
| | |||||
* | - Trim superfluous trailing whitespace. No obj-code changes. | Bernhard Reutner-Fischer | 2007-01-20 | 1 | -10/+8 |
| | |||||
* | - provide a hidden_def for fputc_unlocked that is aliased to __fputc_unlocked. | Bernhard Reutner-Fischer | 2006-12-22 | 1 | -0/+2 |
| | | | | Fixes undefined references to __fputc_unlocked when calling fputc(). | ||||
* | Paul Brook writes: | Mike Frysinger | 2006-12-20 | 1 | -0/+1 |
| | | | | | | | | | | 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. | ||||
* | Patch from Bernhard Fischer: | Eric Andersen | 2006-12-15 | 2 | -4/+4 |
| | | | | fix compilation if PUTC_MACRO and/or GETC_MACRO is turned off | ||||
* | Fix/disable locking when pthreads is disabled | Eric Andersen | 2006-12-12 | 1 | -0/+13 |
| | |||||
* | Fill in a few more of the missing pieces... | Eric Andersen | 2006-12-08 | 2 | -108/+74 |
| | |||||
* | Major cleanup of internal mutex locking. Be more consistant in how we do | Eric Andersen | 2006-12-07 | 1 | -7/+7 |
| | | | | | | | 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. | ||||
* | Major cleanup of internal mutex locking. Be more consistant in how we do | Eric Andersen | 2006-12-07 | 1 | -16/+17 |
| | | | | | | | 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. | ||||
* | stdio update from mjn3 | Eric Andersen | 2006-12-06 | 16 | -79/+283 |
| | |||||
* | fixup my copyright notice, trim stale remnants of older notices which | Eric Andersen | 2006-07-05 | 1 | -1/+0 |
| | | | | I had clearly run search/replace on that were cluttering things up. | ||||
* | Mark some functions as BSD only | Peter S. Mazinger | 2006-03-23 | 2 | -0/+6 |
| | |||||
* | Correct build if UCLIBC_HAS_CTYPE_TABLES is not defined | Peter S. Mazinger | 2006-03-22 | 2 | -2/+2 |
| | |||||
* | Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵ | Peter S. Mazinger | 2006-03-10 | 11 | -46/+1 |
| | | | | most of global data relocations are back | ||||
* | dont define _stdio_init if it doesnt do anything | Mike Frysinger | 2006-02-18 | 1 | -1/+3 |
| | |||||
* | DOMULTI may be used for libc, the excluded files need work, ↵ | Peter S. Mazinger | 2006-02-15 | 1 | -2/+10 |
| | | | | linuxthreads[_db] as well, don't try on slow box | ||||
* | sync with glibc and get a nice size shrinkage in the process | Mike Frysinger | 2006-02-14 | 1 | -25/+30 |
| | |||||
* | libc-{a,so,multi}-y replaced by libc-y covering common objects both in ↵ | Peter S. Mazinger | 2006-02-13 | 1 | -70/+19 |
| | | | | 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 | ||||
* | Mark functions as GNU extensions | Peter S. Mazinger | 2006-02-13 | 10 | -0/+40 |
| | |||||
* | Remove unused prototypes | Peter S. Mazinger | 2006-02-13 | 1 | -8/+0 |
| | |||||
* | Add files for IMA. Yes, I know it's a hack and no, I won't split the ↵ | Peter S. Mazinger | 2006-02-13 | 42 | -0/+388 |
| | | | | affected files | ||||
* | More renames for IMA | Peter S. Mazinger | 2006-02-13 | 3 | -2/+2 |
| | |||||
* | missed another global data marking | Peter S. Mazinger | 2006-02-01 | 1 | -1/+1 |
| | |||||
* | global data uses libc_hidden_data_def, convert all -I hope- and add some new | Peter S. Mazinger | 2006-02-01 | 5 | -3/+18 |
| | |||||
* | Do not build *64 and llseek, correct some failure when LFS is disabled | Peter S. Mazinger | 2006-01-27 | 2 | -0/+4 |
| | |||||
* | Get rid of missing prototype warnings | Peter S. Mazinger | 2006-01-26 | 3 | -3/+7 |
| |