mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-16 18:10:11 +00:00
874aa52349
__isoc99_sscanf, __isoc99_vscanf): New prototypes. (__isoc99_vsscanf, __isoc99_vfscanf): New prototypes, add libc_hidden_proto. * include/wchar.h (__isoc99_fwscanf, __isoc99_wscanf, __isoc99_swscanf, __isoc99_vwscanf): New prototypes. (__isoc99_vswscanf, __isoc99_vfwscanf): New prototypes, add libc_hidden_proto. * libio/stdio.h (fscanf, scanf, sscanf, vfscanf, vscanf, vsscanf): Redirect to __isoc99_* if strict ISO C99 or POSIX conformance requested. * wcsmbs/wchar.h (fwscanf, wscanf, swscanf, vfwscanf, vwscanf, vswscanf): Redirect to __isoc99_* if strict ISO C99 or POSIX conformance requested. * libio/bits/stdio-ldbl.h (fscanf, scanf, sscanf, vfscanf, vscanf, vsscanf): Redirect to __nldbl___isoc99_* if strict ISO C99 or POSIX conformance requested. * wcsmbs/bits/wchar-ldbl.h (fwscanf, wscanf, swscanf, vfwscanf, vwscanf, vswscanf): Redirect to __nldbl___isoc99_* if strict ISO C99 or POSIX conformance requested. * stdio-common/Versions (libc): Export __isoc99_scanf@@GLIBC_2.7, __isoc99_vscanf@@GLIBC_2.7, __isoc99_fscanf@@GLIBC_2.7, __isoc99_vfscanf@@GLIBC_2.7, __isoc99_sscanf@@GLIBC_2.7 and __isoc99_vsscanf@@GLIBC_2.7. * stdio-common/Makefile (routines): Add isoc99_scanf, isoc99_vscanf, isoc99_fscanf, isoc99_vfscanf, isoc99_sscanf and isoc99_vsscanf. (tests): Add scanf14. (CFLAGS-vfprintf.c, CFLAGS-fprintf.c, CFLAGS-printf.c, CFLAGS-vfwprintf.c, CFLAGS-vfscanf.c, CFLAGS-vfwscanf.c, CFLAGS-fscanf.c, CFLAGS-scanf.c, CFLAGS-isoc99_vfscanf.c, CFLAGS-isoc99_vscanf.c, CFLAGS-isoc99_fscanf.c, CFLAGS-isoc99_scanf.c): Add $(exceptions). (CFLAGS-scanf15.c): Add various -I paths to prevent the compiler from using internal headers. * wcsmbs/Versions (libc): Export __isoc99_wscanf@@GLIBC_2.7, __isoc99_vwscanf@@GLIBC_2.7, __isoc99_fwscanf@@GLIBC_2.7, __isoc99_vfwscanf@@GLIBC_2.7, __isoc99_swscanf@@GLIBC_2.7 and __isoc99_vswscanf@@GLIBC_2.7. * wcsmbs/Makefile (routines): Add isoc99_wscanf, isoc99_vwscanf, isoc99_fwscanf, isoc99_vfwscanf, isoc99_swscanf and isoc99_vswscanf. (CFLAGS-isoc99_wscanf.c, CFLAGS-isoc99_fwscanf.c, CFLAGS-isoc99_vwscanf.c, CFLAGS-isoc99_vfwscanf.c): Add $(exceptions). (CPPFLAGS): Add -D_IO_MTSAFE_IO if needed. * stdio-common/isoc99_scanf.c: New file. * stdio-common/isoc99_vsscanf.c: New file. * stdio-common/isoc99_vscanf.c: New file. * stdio-common/isoc99_vfscanf.c: New file. * stdio-common/isoc99_fscanf.c: New file. * stdio-common/isoc99_sscanf.c: New file. * wcsmbs/isoc99_fwscanf.c: New file. * wcsmbs/isoc99_vswscanf.c: New file. * wcsmbs/isoc99_swscanf.c: New file. * wcsmbs/isoc99_wscanf.c: New file. * wcsmbs/isoc99_vwscanf.c: New file. * wcsmbs/isoc99_vfwscanf.c: New file. * libio/libio.h (_IO_FLAGS2_SCANF_STD): Define. * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): Also clear _IO_FLAGS2_SCANF_STD bit from _flags2. * stdio-common/vfscanf.c (_IO_vfscanf_internal): Don't handle %as, %aS and %a[ if _IO_FLAGS2_SCANF_STD is set in _flags2. * stdio-common/scanf14.c: New test. * stdio-common/scanf15.c: New test. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add isoc99_scanf, isoc99_fscanf, isoc99_sscanf, isoc99_vscanf, isoc99_vfscanf, isoc99_vsscanf, isoc99_wscanf, isoc99_fwscanf, isoc99_swscanf, isoc99_vwscanf, isoc99_vfwscanf and isoc99_vswscanf. * sysdeps/ieee754/ldbl-opt/Versions (libc): Export __nldbl___isoc99_scanf@@GLIBC_2.7, __nldbl___isoc99_fscanf@@GLIBC_2.7, __nldbl___isoc99_sscanf@@GLIBC_2.7, __nldbl___isoc99_vscanf@@GLIBC_2.7, __nldbl___isoc99_vfscanf@@GLIBC_2.7, __nldbl___isoc99_vsscanf@@GLIBC_2.7, __nldbl___isoc99_wscanf@@GLIBC_2.7, __nldbl___isoc99_fwscanf@@GLIBC_2.7, __nldbl___isoc99_swscanf@@GLIBC_2.7, __nldbl___isoc99_vwscanf@@GLIBC_2.7, __nldbl___isoc99_vfwscanf@@GLIBC_2.7 and __nldbl___isoc99_vswscanf@@GLIBC_2.7. * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__isoc99_scanf, __isoc99_fscanf, __isoc99_sscanf, __isoc99_vscanf, __isoc99_vfscanf, __isoc99_vsscanf, __isoc99_wscanf, __isoc99_fwscanf, __isoc99_swscanf, __isoc99_vwscanf, __isoc99_vfwscanf, __isoc99_vswscanf): Add NLDBL_DECL. * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___isoc99_scanf, __nldbl___isoc99_fscanf, __nldbl___isoc99_sscanf, __nldbl___isoc99_vscanf, __nldbl___isoc99_vfscanf, __nldbl___isoc99_vsscanf, __nldbl___isoc99_wscanf, __nldbl___isoc99_fwscanf, __nldbl___isoc99_swscanf, __nldbl___isoc99_vwscanf, __nldbl___isoc99_vfwscanf, __nldbl___isoc99_vswscanf): New functions. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vfscanf.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_swscanf.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vwscanf.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_wscanf.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_scanf.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_sscanf.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vsscanf.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_fwscanf.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vfwscanf.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vswscanf.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vscanf.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_fscanf.c: New file. * stdio-common/Makefile (tests): Add scanf13. (scanf13-ENV): New. * stdio-common/vfscanf.c (_IO_vfscanf_internal): Handle m modifier followed by l. (STRING_ARG): Add width argument. (_IO_vfscanf_internal) <case L_('c')>: Handle %mc. <case L_('C')>: Handle %mlc and %mC. <case L_('s'), case L_('S'), case L_('[')>: Adjust STRING_ARG arguments. * stdio-common/scanf13.c: New test. * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): Clear the _IO_FLAGS2_FORTIFY bit from _flags2 rather than _flags. type and __THROW marker of splice, vmsplice, and tee. |
||
---|---|---|
.. | ||
cabs.c | ||
cabsl.c | ||
carg.c | ||
cargl.c | ||
cimag.c | ||
cimagl.c | ||
configure | ||
configure.in | ||
conj.c | ||
conjl.c | ||
creal.c | ||
creall.c | ||
Makefile | ||
math_ldbl_opt.c | ||
math_ldbl_opt.h | ||
nldbl-acos.c | ||
nldbl-acosh.c | ||
nldbl-asin.c | ||
nldbl-asinh.c | ||
nldbl-asprintf.c | ||
nldbl-atan2.c | ||
nldbl-atan.c | ||
nldbl-atanh.c | ||
nldbl-cabs.c | ||
nldbl-cacos.c | ||
nldbl-cacosh.c | ||
nldbl-carg.c | ||
nldbl-casin.c | ||
nldbl-casinh.c | ||
nldbl-catan.c | ||
nldbl-catanh.c | ||
nldbl-cbrt.c | ||
nldbl-ccos.c | ||
nldbl-ccosh.c | ||
nldbl-ceil.c | ||
nldbl-cexp.c | ||
nldbl-cimag.c | ||
nldbl-clog10.c | ||
nldbl-clog.c | ||
nldbl-compat.c | ||
nldbl-compat.h | ||
nldbl-conj.c | ||
nldbl-copysign.c | ||
nldbl-cos.c | ||
nldbl-cosh.c | ||
nldbl-cpow.c | ||
nldbl-cproj.c | ||
nldbl-creal.c | ||
nldbl-csin.c | ||
nldbl-csinh.c | ||
nldbl-csqrt.c | ||
nldbl-ctan.c | ||
nldbl-ctanh.c | ||
nldbl-dprintf.c | ||
nldbl-drem.c | ||
nldbl-erf.c | ||
nldbl-erfc.c | ||
nldbl-exp2.c | ||
nldbl-exp10.c | ||
nldbl-exp.c | ||
nldbl-expm1.c | ||
nldbl-fabs.c | ||
nldbl-fdim.c | ||
nldbl-finite.c | ||
nldbl-floor.c | ||
nldbl-fma.c | ||
nldbl-fmax.c | ||
nldbl-fmin.c | ||
nldbl-fmod.c | ||
nldbl-fprintf_chk.c | ||
nldbl-fprintf.c | ||
nldbl-frexp.c | ||
nldbl-fscanf.c | ||
nldbl-fwprintf_chk.c | ||
nldbl-fwprintf.c | ||
nldbl-fwscanf.c | ||
nldbl-gamma.c | ||
nldbl-hypot.c | ||
nldbl-ilogb.c | ||
nldbl-iovfscanf.c | ||
nldbl-isinf.c | ||
nldbl-isnan.c | ||
nldbl-isoc99_fscanf.c | ||
nldbl-isoc99_fwscanf.c | ||
nldbl-isoc99_scanf.c | ||
nldbl-isoc99_sscanf.c | ||
nldbl-isoc99_swscanf.c | ||
nldbl-isoc99_vfscanf.c | ||
nldbl-isoc99_vfwscanf.c | ||
nldbl-isoc99_vscanf.c | ||
nldbl-isoc99_vsscanf.c | ||
nldbl-isoc99_vswscanf.c | ||
nldbl-isoc99_vwscanf.c | ||
nldbl-isoc99_wscanf.c | ||
nldbl-j0.c | ||
nldbl-j1.c | ||
nldbl-jn.c | ||
nldbl-ldexp.c | ||
nldbl-lgamma_r.c | ||
nldbl-lgamma.c | ||
nldbl-llrint.c | ||
nldbl-llround.c | ||
nldbl-log1p.c | ||
nldbl-log2.c | ||
nldbl-log10.c | ||
nldbl-log.c | ||
nldbl-logb.c | ||
nldbl-lrint.c | ||
nldbl-lround.c | ||
nldbl-modf.c | ||
nldbl-nan.c | ||
nldbl-nearbyint.c | ||
nldbl-nextafter.c | ||
nldbl-nexttoward.c | ||
nldbl-nexttowardf.c | ||
nldbl-obstack_printf.c | ||
nldbl-obstack_vprintf.c | ||
nldbl-pow10.c | ||
nldbl-pow.c | ||
nldbl-printf_chk.c | ||
nldbl-printf_fp.c | ||
nldbl-printf_size.c | ||
nldbl-printf.c | ||
nldbl-qecvt_r.c | ||
nldbl-qecvt.c | ||
nldbl-qfcvt_r.c | ||
nldbl-qfcvt.c | ||
nldbl-qgcvt.c | ||
nldbl-remainder.c | ||
nldbl-remquo.c | ||
nldbl-rint.c | ||
nldbl-round.c | ||
nldbl-scalb.c | ||
nldbl-scalbln.c | ||
nldbl-scalbn.c | ||
nldbl-scanf.c | ||
nldbl-signbit.c | ||
nldbl-significand.c | ||
nldbl-sin.c | ||
nldbl-sincos.c | ||
nldbl-sinh.c | ||
nldbl-snprintf_chk.c | ||
nldbl-snprintf.c | ||
nldbl-sprintf_chk.c | ||
nldbl-sprintf.c | ||
nldbl-sqrt.c | ||
nldbl-sscanf.c | ||
nldbl-strfmon_l.c | ||
nldbl-strfmon.c | ||
nldbl-strtold_l.c | ||
nldbl-strtold.c | ||
nldbl-strtoldint.c | ||
nldbl-swprintf_chk.c | ||
nldbl-swprintf.c | ||
nldbl-swscanf.c | ||
nldbl-syslog_chk.c | ||
nldbl-syslog.c | ||
nldbl-tan.c | ||
nldbl-tanh.c | ||
nldbl-tgamma.c | ||
nldbl-trunc.c | ||
nldbl-vasprintf.c | ||
nldbl-vdprintf.c | ||
nldbl-vfprintf_chk.c | ||
nldbl-vfprintf.c | ||
nldbl-vfscanf.c | ||
nldbl-vfwprintf_chk.c | ||
nldbl-vfwprintf.c | ||
nldbl-vfwscanf.c | ||
nldbl-vprintf_chk.c | ||
nldbl-vprintf.c | ||
nldbl-vscanf.c | ||
nldbl-vsnprintf_chk.c | ||
nldbl-vsnprintf.c | ||
nldbl-vsprintf_chk.c | ||
nldbl-vsprintf.c | ||
nldbl-vsscanf.c | ||
nldbl-vswprintf_chk.c | ||
nldbl-vswprintf.c | ||
nldbl-vswscanf.c | ||
nldbl-vsyslog_chk.c | ||
nldbl-vsyslog.c | ||
nldbl-vwprintf_chk.c | ||
nldbl-vwprintf.c | ||
nldbl-vwscanf.c | ||
nldbl-wcstold_l.c | ||
nldbl-wcstold.c | ||
nldbl-wcstoldint.c | ||
nldbl-wprintf_chk.c | ||
nldbl-wprintf.c | ||
nldbl-wscanf.c | ||
nldbl-y0.c | ||
nldbl-y1.c | ||
nldbl-yn.c | ||
s_asinh.c | ||
s_atan.c | ||
s_cacos.c | ||
s_cacosh.c | ||
s_cacoshl.c | ||
s_cacosl.c | ||
s_casin.c | ||
s_casinh.c | ||
s_casinhl.c | ||
s_casinl.c | ||
s_catan.c | ||
s_catanh.c | ||
s_catanhl.c | ||
s_catanl.c | ||
s_cbrt.c | ||
s_ccos.c | ||
s_ccosh.c | ||
s_ccoshl.c | ||
s_ccosl.c | ||
s_ceil.c | ||
s_cexp.c | ||
s_cexpl.c | ||
s_clog10.c | ||
s_clog10l.c | ||
s_clog.c | ||
s_clogl.c | ||
s_copysign.c | ||
s_cpow.c | ||
s_cpowl.c | ||
s_cproj.c | ||
s_cprojl.c | ||
s_csin.c | ||
s_csinh.c | ||
s_csinhl.c | ||
s_csinl.c | ||
s_csqrt.c | ||
s_csqrtl.c | ||
s_ctan.c | ||
s_ctanh.c | ||
s_ctanhl.c | ||
s_ctanl.c | ||
s_erf.c | ||
s_expm1.c | ||
s_fabs.c | ||
s_fdim.c | ||
s_fdiml.c | ||
s_finite.c | ||
s_floor.c | ||
s_fma.c | ||
s_fmal.c | ||
s_fmax.c | ||
s_fmaxl.c | ||
s_fmin.c | ||
s_fminl.c | ||
s_frexp.c | ||
s_ilogb.c | ||
s_isinf.c | ||
s_isnan.c | ||
s_ldexp.c | ||
s_ldexpl.c | ||
s_llrint.c | ||
s_llround.c | ||
s_log1p.c | ||
s_logb.c | ||
s_lrint.c | ||
s_lround.c | ||
s_modf.c | ||
s_nan.c | ||
s_nanl.c | ||
s_nearbyint.c | ||
s_nextafter.c | ||
s_nexttowardfd.c | ||
s_remquo.c | ||
s_rint.c | ||
s_round.c | ||
s_scalbln.c | ||
s_scalbn.c | ||
s_significand.c | ||
s_significandl.c | ||
s_sin.c | ||
s_sincos.c | ||
s_tan.c | ||
s_tanh.c | ||
s_trunc.c | ||
Versions | ||
w_acos.c | ||
w_acosh.c | ||
w_acoshl.c | ||
w_acosl.c | ||
w_asin.c | ||
w_asinl.c | ||
w_atan2.c | ||
w_atan2l.c | ||
w_atanh.c | ||
w_atanhl.c | ||
w_cosh.c | ||
w_coshl.c | ||
w_drem.c | ||
w_dreml.c | ||
w_exp10.c | ||
w_exp10l.c | ||
w_exp.c | ||
w_fmod.c | ||
w_fmodl.c | ||
w_hypot.c | ||
w_hypotl.c | ||
w_j0.c | ||
w_j0l.c | ||
w_j1.c | ||
w_j1l.c | ||
w_jn.c | ||
w_jnl.c | ||
w_lgamma_r.c | ||
w_lgamma.c | ||
w_lgammal_r.c | ||
w_lgammal.c | ||
w_log2.c | ||
w_log2l.c | ||
w_log10.c | ||
w_log10l.c | ||
w_log.c | ||
w_logl.c | ||
w_pow.c | ||
w_powl.c | ||
w_remainder.c | ||
w_remainderl.c | ||
w_scalb.c | ||
w_scalbl.c | ||
w_sinh.c | ||
w_sinhl.c | ||
w_sqrt.c | ||
w_sqrtl.c | ||
w_tgamma.c | ||
w_tgammal.c |