This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc stdio-common/scanf.c stdio-common/snprint ...
- From: roland at sourceware dot org
- To: glibc-cvs at sources dot redhat dot com
- Date: 14 Jan 2006 12:09:49 -0000
- Subject: libc stdio-common/scanf.c stdio-common/snprint ...
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sources.redhat.com 2006-01-14 12:09:49
Modified files:
stdio-common : scanf.c snprintf.c printf_size.c vfprintf.c
Makefile printf_fp.c asprintf.c fprintf.c
dprintf.c vprintf.c sprintf.c printf.c printf.h
sscanf.c fscanf.c vfscanf.c
debug : vsnprintf_chk.c fprintf_chk.c vsprintf_chk.c
vfprintf_chk.c printf_chk.c vfwprintf_chk.c
snprintf_chk.c vprintf_chk.c sprintf_chk.c
libio : vwprintf.c iovdprintf.c vscanf.c vsnprintf.c
vswprintf.c iovswscanf.c fwscanf.c iovsprintf.c
vasprintf.c stdio.h libio.h obprintf.c Makefile
swscanf.c iovsscanf.c vwscanf.c wprintf.c
libioP.h wscanf.c swprintf.c fwprintf.c
wcsmbs/bits : wchar2.h
include : wchar.h
wcsmbs : Makefile
Added files:
stdio-common/bits: printf-ldbl.h
wcsmbs/bits : wchar-ldbl.h
libio/bits : libio-ldbl.h stdio-ldbl.h
Log message:
2006-01-14 Jakub Jelinek <jakub@redhat.com>
* libio/bits/stdio-ldbl.h: New file.
* libio/Makefile (headers): Add it.
* libio/stdio.h [__LDBL_COMPAT]: #include it.
* libio/bits/libio-ldbl.h: New file.
* libio/Makefile (headers): Add it.
* libio/libio.h [__LDBL_COMPAT]: #include it.
* libio/libioP.h: Include <math_ldbl_opt.h>.
* include/wchar.h (__fwprintf, __vfwprintf): Fix commented out
attribute.
(__vfwprintf_chk): New prototype. Add libc_hidden_proto.
* wcsmbs/bits/wchar-ldbl.h: New file.
* wcsmbs/Makefile (headers): Add it.
* wcsmbs/wchar.h [__LDBL_COMPAT]: #include it.
* wcsmbs/bits/wchar2.h (__vswprintf_alias): Removed.
(vswprintf): Define as a macro rather than inline function.
* stdio-common/bits/printf-ldbl.h: New file.
* stdio-common/Makefile (headers): Add it.
* stdio-common/printf.h [__LDBL_COMPAT]: #include it.
* libio/fwprintf.c: Include libioP.h.
(fwprintf): Use ldbl_weak_alias instead of weak_alias.
* libio/fwscanf.c: Include libioP.h.
(fwscanf): Rename to __fwscanf and add ldbl_strong_alias.
* libio/iovdprintf.c (vdprintf): Use ldbl_weak_alias instead of
weak_alias.
* libio/iovsprintf.c (_IO_vsprintf): Rename to __IO_vsprintf,
add ldbl_strong_alias and use INTDEF2 instead of INTDEF.
(vsprintf): Use ldbl_weak_alias instead of weak_alias.
* libio/iovsscanf.c (__vsscanf, vsscanf): Use ldbl_weak_alias
instead of weak_alias.
* libio/iovswscanf.c (vswscanf): Rename to __vswscanf,
add ldbl_strong_alias and use ldbl_hidden_def instead of
libc_hidden_def.
* libio/obprintf.c (obstack_printf, obstack_vprintf): Use
ldbl_weak_alias instead of weak_alias.
* libio/swprintf.c: Include libioP.h.
(swprintf): Rename to __swprintf and add ldbl_strong_alias.
* libio/swscanf.c: Include libioP.h.
(swscanf): Rename to __swscanf and add ldbl_strong_alias.
* libio/vasprintf.c (vasprintf): Use ldbl_weak_alias instead of
weak_alias.
* libio/vscanf.c (vscanf): Use ldbl_weak_alias instead of
weak_alias.
* libio/vsnprintf.c (__vsnprintf, vsnprintf): Use ldbl_weak_alias
instead of weak_alias.
* libio/vswprintf.c (__vswprintf): Remove alias.
(vswprintf): Use ldbl_weak_alias instead of weak_alias.
* libio/vwprintf.c: Include libioP.h.
(vwprintf): Rename to __vwprintf and add ldbl_strong_alias.
* libio/vwscanf.c (vwscanf): Rename to __vwscanf and add
ldbl_strong_alias.
* libio/wprintf.c: Include libioP.h.
(wprintf): Rename to __wprintf and add ldbl_strong_alias.
* libio/wscanf.c: Include libioP.h.
(wscanf): Rename to __wscanf and add ldbl_strong_alias.
* stdio-common/asprintf.c (__asprintf): Rename to ___asprintf, add
ldbl_strong_alias and use INTDEF2 instead of INTDEF.
(asprintf): Use ldbl_weak_alias instead of weak_alias.
* stdio-common/dprintf.c (dprintf): Rename to __dprintf, add
ldbl_strong_alias and use ldbl_hidden_def instead of
libc_hidden_def.
* stdio-common/fprintf.c: Include libioP.h.
(fprintf): Rename to __fprintf, add ldbl_strong_alias and
use ldbl_hidden_def instead of libc_hidden_def.
(_IO_fprintf): Use ldbl_weak_alias instead of weak_alias.
* stdio-common/fscanf.c: Include libioP.h.
(fscanf): Rename to __fscanf and add ldbl_strong_alias.
* stdio-common/printf.c: Include libioP.h.
(printf): Rename to __printf and add ldbl_strong_alias.
(_IO_printf): Use ldbl_strong_alias instead of strong_alias.
* stdio-common/printf_fp.c (__printf_fp): Rename to __printf_fp, add
ldbl_strong_alias and use ldbl_hidden_def instead of
libc_hidden_def.
* stdio-common/printf_size.c (printf_size): Rename to __printf_size
and add ldbl_strong_alias.
* stdio-common/scanf.c (scanf): Rename to __scanf and add
ldbl_strong_alias.
* stdio-common/snprintf.c (snprintf): Use ldbl_weak_alias instead of
weak_alias.
* stdio-common/sprintf.c (sprintf): Rename to __sprintf, add
ldbl_strong_alias and use ldbl_hidden_def instead of
libc_hidden_def.
(_IO_sprintf): Use ldbl_strong_alias instead of strong_alias.
* stdio-common/sscanf.c: Include libioP.h instead of iolibio.h.
(sscanf): Rename to __sscanf and add ldbl_strong_alias.
* stdio-common/vfprintf.c (vfprintf): Define to
_IO_vfprintf_internal. Use ldbl_strong_alias instead. Use
ldbl_hidden_def instead of libc_hidden_def.
(_IO_vfprintf_internal): Clear is_long_double if __ldbl_is_dbl,
handle the argument as double if it is non-zero.
(vfwprintf): Use ldbl_weak_alias instead of weak_alias.
(_IO_vfprintf): Add ldbl_strong_alias.
* stdio-common/vfscanf.c (_IO_vfscanf): Rename to
_IO_vfscanf_internal, don't use strtold if __ldbl_is_dbl, add
ldbl_strong_alias.
(vfwscanf): Use ldbl_weak_alias instead of weak_alias.
(__vfscanf): Rename to ___vfscanf, add ldbl_strong_alias and
use ldbl_hidden_def instead of libc_hidden_def.
(vfscanf): Use ldbl_weak_alias instead of weak_alias.
* stdio-common/vprintf.c: Include libioP.h.
(vprintf): Rename to __vprintf and add ldbl_strong_alias.
* debug/fprintf_chk.c (__fprintf_chk): Rename to ___fprintf_chk
and add ldbl_strong_alias.
* debug/printf_chk.c (__printf_chk): Rename to ___printf_chk
and add ldbl_strong_alias.
* debug/snprintf_chk.c: Include libioP.h.
(__snprintf_chk): Rename to ___snprintf_chk and add ldbl_strong_alias.
* debug/sprintf_chk.c: Include libioP.h.
(__sprintf_chk): Rename to ___sprintf_chk and add ldbl_strong_alias.
* debug/vfprintf_chk.c (__vfprintf_chk): Rename to ___vfprintf_chk,
add ldbl_strong_alias and use ldbl_hidden_def instead of
libc_hidden_def.
* debug/vfwprintf_chk.c (__vfwprintf_chk): Add libc_hidden_def.
* debug/vprintf_chk.c (__vprintf_chk): Rename to ___vprintf_chk
and add ldbl_strong_alias.
* debug/vsnprintf_chk.c (__vsnprintf_chk): Rename to ___vsnprintf_chk,
add ldbl_strong_alias and use ldbl_hidden_def instead of
libc_hidden_def.
* debug/vsprintf_chk.c (__vsprintf_chk): Rename to ___vsprintf_chk,
add ldbl_strong_alias and use ldbl_hidden_def instead of
libc_hidden_def.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdio-common/scanf.c.diff?cvsroot=glibc&r1=1.11&r2=1.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdio-common/snprintf.c.diff?cvsroot=glibc&r1=1.11&r2=1.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdio-common/printf_size.c.diff?cvsroot=glibc&r1=1.15&r2=1.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdio-common/vfprintf.c.diff?cvsroot=glibc&r1=1.132&r2=1.133
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdio-common/Makefile.diff?cvsroot=glibc&r1=1.96&r2=1.97
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdio-common/printf_fp.c.diff?cvsroot=glibc&r1=1.56&r2=1.57
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdio-common/asprintf.c.diff?cvsroot=glibc&r1=1.11&r2=1.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdio-common/fprintf.c.diff?cvsroot=glibc&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdio-common/dprintf.c.diff?cvsroot=glibc&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdio-common/vprintf.c.diff?cvsroot=glibc&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdio-common/sprintf.c.diff?cvsroot=glibc&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdio-common/printf.c.diff?cvsroot=glibc&r1=1.8&r2=1.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdio-common/printf.h.diff?cvsroot=glibc&r1=1.16&r2=1.17
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdio-common/sscanf.c.diff?cvsroot=glibc&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdio-common/fscanf.c.diff?cvsroot=glibc&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdio-common/vfscanf.c.diff?cvsroot=glibc&r1=1.113&r2=1.114
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/debug/vsnprintf_chk.c.diff?cvsroot=glibc&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/debug/fprintf_chk.c.diff?cvsroot=glibc&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/debug/vsprintf_chk.c.diff?cvsroot=glibc&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/debug/vfprintf_chk.c.diff?cvsroot=glibc&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/debug/printf_chk.c.diff?cvsroot=glibc&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/debug/vfwprintf_chk.c.diff?cvsroot=glibc&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/debug/snprintf_chk.c.diff?cvsroot=glibc&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/debug/vprintf_chk.c.diff?cvsroot=glibc&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/debug/sprintf_chk.c.diff?cvsroot=glibc&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/vwprintf.c.diff?cvsroot=glibc&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/iovdprintf.c.diff?cvsroot=glibc&r1=1.14&r2=1.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/vscanf.c.diff?cvsroot=glibc&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/vsnprintf.c.diff?cvsroot=glibc&r1=1.21&r2=1.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/vswprintf.c.diff?cvsroot=glibc&r1=1.12&r2=1.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/iovswscanf.c.diff?cvsroot=glibc&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/fwscanf.c.diff?cvsroot=glibc&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/iovsprintf.c.diff?cvsroot=glibc&r1=1.18&r2=1.19
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/vasprintf.c.diff?cvsroot=glibc&r1=1.18&r2=1.19
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/stdio.h.diff?cvsroot=glibc&r1=1.84&r2=1.85
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/libio.h.diff?cvsroot=glibc&r1=1.63&r2=1.64
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/obprintf.c.diff?cvsroot=glibc&r1=1.16&r2=1.17
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/Makefile.diff?cvsroot=glibc&r1=1.82&r2=1.83
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/swscanf.c.diff?cvsroot=glibc&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/iovsscanf.c.diff?cvsroot=glibc&r1=1.20&r2=1.21
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/vwscanf.c.diff?cvsroot=glibc&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/wprintf.c.diff?cvsroot=glibc&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/libioP.h.diff?cvsroot=glibc&r1=1.75&r2=1.76
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/wscanf.c.diff?cvsroot=glibc&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/swprintf.c.diff?cvsroot=glibc&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/fwprintf.c.diff?cvsroot=glibc&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdio-common/bits/printf-ldbl.h.diff?cvsroot=glibc&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/wcsmbs/bits/wchar-ldbl.h.diff?cvsroot=glibc&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/wcsmbs/bits/wchar2.h.diff?cvsroot=glibc&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/include/wchar.h.diff?cvsroot=glibc&r1=1.28&r2=1.29
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/bits/libio-ldbl.h.diff?cvsroot=glibc&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/libio/bits/stdio-ldbl.h.diff?cvsroot=glibc&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/wcsmbs/Makefile.diff?cvsroot=glibc&r1=1.27&r2=1.28