aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
AgeCommit message (Collapse)Author
2012-02-27Remove a spurious const in tst-fmemopen.Roland McGrath
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert
2012-01-30Remove miscellaneous __STDC__ conditionals.Joseph Myers
2012-01-24Fix gets problemsUlrich Drepper
2012-01-08sscanf always calls reallocPaul Pluzhnikov
2012-01-07Remove pre-ISO C supportUlrich Drepper
No more __const.
2012-01-01Better gets prototype and fallout from removalUlrich Drepper
2011-12-17Fix extension of array in extended printf format handlingUlrich Drepper
2011-10-08isinf returns the sign of the number, use it in printf*Ulrich Drepper
2011-09-10Cleanup of configuration optionsUlrich Drepper
Make several tool features mandatory and simplify the code.
2011-09-09Fix boundary conditions in scanfUlrich Drepper
Allocate large buffers with realloc. When returning error make sure the stream is unlocked.
2011-09-09Merge branch 'master' of ssh://sourceware.org/git/glibcUlrich Drepper
Conflicts: ChangeLog
2011-08-20Add test for BZ 13114Ulrich Drepper
2011-06-10Quash some new warnings from GCC 4.6.Roland McGrath
2011-05-21Set stream errors in more casesUlrich Drepper
Also avoid unnecessarily setting errno when testing for TTY.
2011-02-20Fix allocation when handling positional parameters in printf.Petr Baudis
2011-02-16Conditionalize use of SIGRTMIN in psiginfo.Samuel Thibault
2011-02-15Fix two printf handler issues.Jakub Jelinek
2011-01-12Fix grouping when rounding increases number of integer digits.Ulrich Drepper
2010-12-24Always allow overwriting printf modifiers etc.Ulrich Drepper
2010-10-11psiginfo relied too much on sys_siglist.Ulrich Drepper
2010-10-11Unify psiginfo output.Ulrich Drepper
2010-04-19tst-fmemopen: Do not write test file in $srcdir.Roland McGrath
2010-03-26Fix printf format warning for si_band.Richard Henderson
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-01-09Add support for XPG7 testing.Ulrich Drepper
The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
2009-10-30Avoid warning in scanf test.Ulrich Drepper
2009-10-30Implement mkstemps and mkstemps64.Ulrich Drepper
2009-09-29Check for integer overflows in formatting functionsAndreas Schwab
2009-08-23Print sign of NaN values.Ulrich Drepper
2009-07-29Preserve SSE registers in runtime relocations on x86-64.Ulrich Drepper
SSE registers are used for passing parameters and must be preserved in runtime relocations. This is inside ld.so enforced through the tests in tst-xmmymm.sh. But the malloc routines used after startup come from libc.so and can be arbitrarily complex. It's overkill to save the SSE registers all the time because of that. These calls are rare. Instead we save them on demand. The new infrastructure put in place in this patch makes this possible and efficient.
2009-05-16remove subsumed .gitignore entries and filesJim Meyering
2009-05-16remove mpn-copy.mk from .gitignore filesJim Meyering
2009-05-16remove COPYING* from .gitignore filesJim Meyering
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering
2009-04-26* sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):Ulrich Drepper
Avoid warning by using may_alias attribute on ptrhack.
2009-04-26* sysdeps/i386/fpu/s_cos.S: Set errno for ±Inf.Ulrich Drepper
* sysdeps/i386/fpu/s_cosf.S: Likewise. * sysdeps/i386/fpu/s_cosl.S: Likewise. * sysdeps/i386/fpu/s_sin.S: Likewise. * sysdeps/i386/fpu/s_sinf.S: Likewise. * sysdeps/i386/fpu/s_sinl.S: Likewise. * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. * sysdeps/ieee754/flt-32/s_cosf.c: Likewise. * sysdeps/ieee754/flt-32/s_sinf.c: Likewise. * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise. * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise. * sysdeps/x86_64/fpu/s_cosl.S: Likewise. * sysdeps/x86_64/fpu/s_sinl.S: Likewise. * math/libm-test.inc: Add tests for errno after sin/cos calls with ±Inf.
2009-04-25* stdio-common/stdio_lim.h.in (L_cuserid): Not part of POSIX sinceUlrich Drepper
the 2001 revision.
2009-04-24* stdio-common/psiginfo.c: Include <errno.h>.Ulrich Drepper
2009-04-23* stdio-common/printf.h: Add missing const to register_printf_modifier.Ulrich Drepper
* stdio-common/reg-modifier.c: Likewise. 2009-04-22 Andrew Stubbs <ams@codesourcery.com> * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Adjust JB_SIZE when there is no FPU.
2009-04-14* sysdeps/x86-64/strrchr.S: New file.Ulrich Drepper
2009-04-11* stdio-common/printf.h (struct printf_info): Add user element.Ulrich Drepper
New types printf_arginfo_size_function, printf_va_arg_function. Declare register_printf_specifier, register_printf_modifier, register_printf_type. * stdio-common/printf-parse.h (struct printf_spec): Add size element. (union printf_arg): Add pa_user element. Adjust __printf_arginfo_table type. Add __printf_va_arg_table, __printf_modifier_table, __handle_registered_modifier_mb, and __handle_registered_modifier_wc declarations. * stdio-common/printf-parsemb.c: Recognize registered modifiers. If registered arginfo call failed try normal specifier. * stdio-common/printf-prs.c: Pass additional parameter to arginfo function. * stdio-common/Makefile (routines): Add reg-modifier and reg-type. * stdio-common/Versions: Export register_printf_modifier, register_printf_type, and register_printf_specifier for GLIBC_2.10. * stdio-common/reg-modifier.c: New file. * stdio-common/reg-type.c: New file. * stdio-common/reg-printf.c (__register_printf_specifier): New function. Mostly the old __register_printf_function function but uses locking and type of third parameter changed. (__register_printf_function): Implement using __register_printf_specifier. * stdio-common/vfprintf.c (vfprintf): Collect argument sizes in calls to arginfo functions. Allocate enough memory for user-defined types. Call new va_arg functions to get user-defined types. Try installed handlers even for existing format specifiers first.
2009-04-10Simplified code and possible copy problem fixed.Ulrich Drepper
2009-04-10* stdio-common/vfprintf.c (vfprintf): Slightly more compact code.Ulrich Drepper
2009-02-26* libio/stdio.h: dprintf, fmemopen, getdelim, getline,Ulrich Drepper
open_memstream, and vdprintf are in POSIX 2008.
2009-02-26* locale/langinfo.h: nl_langinfo_l is in POSIX 2008.Ulrich Drepper
* locale/xlocale.h: Define locale_t type. * locale/locale.h: duplocale, freelocale, newlocale, uselocale are in POSIX 2008. Don't define locale_t here. * stdlib/monetary.h: strfmon_l is in POSIX 2008. * signal/signal.h: Declare psignal and psiginfo for POSIX 2008. * stdio-common/psiginfo.c: New file. * stdio-common/psiginfo-data.h: New file. * stdio-common/psiginfo-define.h: New file. * stdio-common/Makefile (routines): Add psiginfo. * stdio-common/Versions: Export psiginfo for GLIBC_2.10.
2009-02-06[BZ #9823]Ulrich Drepper
2009-02-06 Ulrich Drepper <drepper@redhat.com> [BZ #9823] * stdio-common/psignal.c (psignal): Fix test for empty string.
2008-07-26* stdio-common/printf_fp.c (___printf_fp): Give wide outout codeUlrich Drepper
the same treatment as narow output code in last patch.
2008-07-25[BZ #6698]Ulrich Drepper
* stdio-common/_i18n_number.h (_i18n_number_rewrite): Take additional parameter for end of buffer. If temporary copy is too large use malloc. * stdio-common/vfprintf.c: Adjust for _i18n_number_rewrite interface change. * stdio-common/printf_fp.c (__printf_fp): Likewise.. Account for string rewrite when allocating buffer.
2008-07-20* locale/setlocale.c (setlocale): Take the setlocale lock earlier.Ulrich Drepper
2008-07-15* stdio-common/vfprintf.c (_IO_helper_overflow): In case _IO_sputncvs/fedora-glibc-20080716T0944Ulrich Drepper
doesn't manage to write anything, fail.