aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
AgeCommit message (Collapse)AuthorFilesLines
2013-03-15Better distinguish between NaN/qNaN/sNaN.Thomas Schwinge1-18/+20
2013-03-15Remove unused declarations.Thomas Schwinge1-3/+0
Added in commit f83af095b6fc49de3914f4426202171341783277, and forgotten to be removed in commit 76f2646f3dbe45d3ed53a0c73fa52f1595306b35.
2013-03-05Replace __builtin_expect(..., 0) with __glibc_unlikely().Paul Pluzhnikov1-19/+19
2013-03-05 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don'tPaul Pluzhnikov1-4/+13
call free(NULL).
2013-02-13Remove __ptrvalue, __bounded and __unbounded.Joseph Myers1-2/+2
2013-01-11Add --enable-hardcoded-path-in-tests configure optionH.J. Lu3-7/+7
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers86-95/+86
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers1-2/+1
2012-12-06Add newline to last test in stdio-common/tst-put-error.cSiddhesh Poyarekar1-1/+11
The newline ensures that the buffer is flushed and the test executes as expected.
2012-12-05Increase width of padded output in stdio-common/tst-put-error.Joseph Myers1-1/+1
2012-11-20Fix more set-but-not-used warnings in _itowa.c.Joseph Myers1-2/+4
2012-11-16printf should return negative value on errorSiddhesh Poyarekar2-4/+50
[BZ #11741] Fixed bug where printf and family may return a spurious success when printing padded formats.
2012-11-04[BZ #157] Remove include/stub-tag.h for good.Thomas Schwinge6-6/+0
2012-10-24Define and use $(run-built-tests).Joseph Myers1-1/+1
2012-09-282012-09-28 Andreas Schwab <schwab@linux-m68k.org>Jeff Law3-36/+17
[BZ #6530] * stdio-common/vfprintf.c (process_string_arg): Revert 2000-07-22 change. 2011-09-28 Jonathan Nieder <jrnieder@gmail.com> * stdio-common/Makefile (tst-sprintf-ENV): Set environment for testcase. * stdio-common/tst-sprintf.c: Include <locale.h> (main): Test sprintf's handling of incomplete multibyte characters.
2012-09-25Set "fail on error" mode directly in testsuite shell scriptsDmitry V. Levin3-9/+11
2012-09-24Make printf respect the rounding mode for hex output (bug 5044).Joseph Myers2-13/+151
2012-09-14Make printf respect the rounding mode for decimal output (bug 5044).Joseph Myers3-30/+142
2012-08-18Fix last patch: Add missing DUMMY variableAndreas Jaeger1-2/+2
2012-08-17Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO.Roland McGrath2-3/+5
2012-08-16Suppress -Wunused-but-set warnings in GMP code.Roland McGrath2-9/+15
2012-07-30Fix lots of bitrot for stub configurations.Roland McGrath5-5/+37
2012-06-01Remove use of INTDEF/INTUSE in stdio-commonAndreas Schwab5-39/+16
2012-05-242012-05-24 Jeff Law <law@redhat.com>Jeff Law2-1/+72
* stdio-common/Makefile (tests): Add bug25. * stdio-common/bug25.c: New test.
2012-05-24Remove use of INTDEF/INTUSE in libioAndreas Schwab18-58/+54
2012-05-21[BZ #13691], Revert breakage of iconv() converter for TCVN-5712.Andreas Jaeger2-12/+1
* iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider inptr and inend for must_buffer_ch. * wcsmbs/tst-mbsnrtowcs.c: Remove file. * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs. * stdio-common/Makefile (tests): Remove bug15. (bug15-ENV): Remove macro. * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1 anymore. localedata: * SUPPORTED: Remove vi_VN.TCVN/TCVN5712-1. * tst-strptime.c: Remove, we do not support vi_VN.TCVN5712-1 anymore. * Makefile (LOCALES): Remove vi_VN.TCVN5712-1 from list. (tests): Remove tst-strptime.
2012-05-18Check _ITOA_NEEDED and use _ITOA_WORD_TYPEH.J. Lu1-5/+6
2012-05-17Bump up stdio bug22 timeout from 30 seconds to 60 secondsChris Metcalf1-1/+1
The older Tilera platform (tilepro) needs just a hair over 30 seconds to run this on one core.
2012-04-28Fix formatting of denormal IBM long double numbersAndreas Schwab2-1/+91
2012-04-02Tighten up vfprintf width, precision, and total length overflow handling.David S. Miller4-39/+131
With help from Paul Eggert, Carlos O'Donell, and Roland McGrath. * stdio-common/printf-parse.h (read_int): Change return type to 'int', return -1 on INT_MAX overflow. * stdio-common/vfprintf.c (vfprintf): Validate width and precision against overflow of INT_MAX. Set errno to EOVERFLOW when 'done' overflows INT_MAX. Check for overflow of in-format-string precision values properly. Use EOVERFLOW rather than ERANGE throughout. Use SIZE_MAX not INT_MAX for integer overflow test. * stdio-common/printf-parsemb.c: If read_int signals an overflow, skip the construct in the format string but do not record anything. * stdio-common/bug22.c: Adjust to test both width/prevision INT_MAX overflow as well as total length INT_MAX overflow. Check explicitly for proper errno values.
2012-03-21Add _ITOA_NEEDED and _ITOA_WORD_TYPEH.J. Lu2-2/+9
Add _ITOA_NEEDED and _ITOA_WORD_TYPE to override _itoa and _itowa.
2012-03-20Move stdio-common/_itoa.h to sysdeps/genericH.J. Lu5-98/+6
2012-03-10Replace FSF snail mail address with URL in miscellaneous files.Paul Eggert1-3/+2
2012-03-09Install bits/stdio_lim.h in install-headers.Joseph Myers1-6/+1
2012-03-08Clean up tst-fphex testUlrich Drepper2-23/+14
2012-03-08Merge branch 'master' of ssh://sourceware.org/git/glibcUlrich Drepper3-19/+73
Conflicts: ChangeLog
2012-03-08Fix up long double fphex testMarek Polacek1-7/+22
2012-03-08Enhance fphex test.Marek Polacek3-19/+73
2012-03-07Remove distribute variable from MakefilesUlrich Drepper1-3/+1
2012-03-06Formatting fixesUlrich Drepper1-13/+13
2012-03-06Fix up long double fphex.Marek Polacek2-1/+39
2012-03-052012-03-02 Kees Cook <keescook@chromium.org>Kees Cook1-3/+7
* stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2012-03-052012-03-02 Kees Cook <keescook@chromium.org>Kees Cook3-10/+118
[BZ #13656] * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and possibly allocate from heap instead of stack. * stdio-common/bug-vfprintf-nargs.c: New file. * stdio-common/Makefile (tests): Add nargs overflow test.
2012-02-27Remove a spurious const in tst-fmemopen.Roland McGrath1-1/+1
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert80-240/+160
2012-01-30Remove miscellaneous __STDC__ conditionals.Joseph Myers1-2/+0
2012-01-24Fix gets problemsUlrich Drepper1-5/+1
2012-01-08sscanf always calls reallocPaul Pluzhnikov1-2/+2
2012-01-07Remove pre-ISO C supportUlrich Drepper1-10/+10
No more __const.
2012-01-01Better gets prototype and fallout from removalUlrich Drepper1-1/+6