glibc/inet
Ulrich Drepper 874aa52349 * include/stdio.h (__isoc99_fscanf, __isoc99_scanf,
__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.
2007-09-18 19:04:01 +00:00
..
arpa Change inet_aton type from in_addr_t to int. 2004-07-21 16:28:40 +00:00
netinet [BZ #2693] 2006-05-25 04:50:06 +00:00
protocols
.cvsignore
aliases.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bug-if1.c Update. 2004-06-29 04:43:45 +00:00
check_pf.c * include/ifaddrs.h: Define struct in6addrinfo. 2006-04-16 21:34:32 +00:00
ether_aton_r.c * sysdeps/posix/system.c (do_system): New function, guts broken out of 2002-08-06 04:30:03 +00:00
ether_aton.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ether_hton.c * nss/getXXent.c (GETFUNC_NAME): Use union type to avoid strict 2002-11-10 11:06:36 +00:00
ether_line.c Update. 2002-05-24 08:49:00 +00:00
ether_ntoa_r.c * sysdeps/posix/system.c (do_system): New function, guts broken out of 2002-08-06 04:30:03 +00:00
ether_ntoa.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ether_ntoh.c * nss/getXXent.c (GETFUNC_NAME): Use union type to avoid strict 2002-11-10 11:06:36 +00:00
getaliasent_r.c Update. 2002-08-03 07:02:10 +00:00
getaliasent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getaliasname_r.c Update. 2002-08-03 07:02:10 +00:00
getaliasname.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gethstbyad_r.c * sysdeps/posix/system.c (do_system): New function, guts broken out of 2002-08-06 04:30:03 +00:00
gethstbyad.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gethstbynm2_r.c Update. 2002-08-03 07:02:10 +00:00
gethstbynm2.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gethstbynm_r.c Update. 2002-08-03 07:02:10 +00:00
gethstbynm.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gethstent_r.c Update. 2002-08-03 07:02:10 +00:00
gethstent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getipv4sourcefilter.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getnameinfo.c * elf/dl-open.c (dl_open_worker): Declare l in 2 different 2007-03-17 17:09:13 +00:00
getnetbyad_r.c Update. 2002-08-03 07:02:10 +00:00
getnetbyad.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getnetbynm_r.c Update. 2002-08-03 07:02:10 +00:00
getnetbynm.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getnetent_r.c Update. 2002-08-03 07:02:10 +00:00
getnetent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getnetgrent_r.c * inet/getnetgrent_r.c (innetgr): Call endfct even if result != 0. 2005-09-25 22:55:11 +00:00
getnetgrent.c * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn): 2002-11-01 20:44:15 +00:00
getproto_r.c Update. 2002-08-03 07:02:10 +00:00
getproto.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getprtent_r.c Update. 2002-08-03 07:02:10 +00:00
getprtent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getprtname_r.c Update. 2002-08-03 07:02:10 +00:00
getprtname.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getrpcbyname_r.c Update. 2002-08-03 07:02:10 +00:00
getrpcbyname.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getrpcbynumber_r.c Update. 2002-08-03 07:02:10 +00:00
getrpcbynumber.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getrpcent_r.c Update. 2002-08-03 07:02:10 +00:00
getrpcent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getservent_r.c Update. 2002-08-03 07:02:10 +00:00
getservent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getsourcefilter.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getsrvbynm_r.c Update. 2002-08-03 07:02:10 +00:00
getsrvbynm.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getsrvbypt_r.c Update. 2002-08-03 07:02:10 +00:00
getsrvbypt.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
herrno-loc.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
herrno.c Update. 2003-02-07 20:46:55 +00:00
htonl.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
htons.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
htontest.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
if_index.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
ifaddrs.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
ifaddrs.h Added <ifaddrs.h> interface with functions getifaddrs', freeifaddrs'. 2002-07-24 22:56:44 +00:00
ifreq.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
in6_addr.c * malloc/Makefile ($(objpfx)memusagestat.o: sysincludes): Define 2002-09-18 00:15:25 +00:00
inet6_opt.c [BZ #4181] 2007-03-15 20:05:19 +00:00
inet6_option.c Also emit linker warnings for the RFC 2292 interfaces. 2006-09-20 20:14:47 +00:00
inet6_rth.c [BZ #2693] 2006-05-25 04:50:06 +00:00
inet_lnaof.c * sysdeps/posix/readv.c: Include <errno.h>, use __set_errno macro. 2002-11-24 23:56:47 +00:00
inet_mkadr.c Update. 2003-08-27 20:57:30 +00:00
inet_net.c Reset digit to 0 for inputs starting with "0x". 2007-09-15 22:21:19 +00:00
inet_netof.c * sysdeps/posix/readv.c: Include <errno.h>, use __set_errno macro. 2002-11-24 23:56:47 +00:00
inet_ntoa.c * inet/inet_ntoa.c: Rewrite to use TLS instead of TSD. 2006-04-09 05:51:26 +00:00
Makefile [BZ #4181] 2007-03-15 20:05:19 +00:00
netgroup.h Update. 2004-08-14 04:21:09 +00:00
rcmd.c * inet/rcmd.c (iruserfopen): Remove redundant initialization. 2006-01-31 19:18:14 +00:00
rexec.c * inet/rexec.c (rexec_af): If we have no canonical name don't 2006-04-07 08:17:33 +00:00
ruserpass.c Update. 2003-09-04 08:27:37 +00:00
setipv4sourcefilter.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
setsourcefilter.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
test_ifindex.c * inet/test-ifaddrs.c: Use test-skeleton. 2005-03-19 17:45:59 +00:00
test-ifaddrs.c * inet/test-ifaddrs.c: Use test-skeleton. 2005-03-19 17:45:59 +00:00
test-inet6_opt.c [BZ #4181] 2007-03-15 20:05:19 +00:00
tst-ether_aton.c Update. 2002-05-24 08:49:00 +00:00
tst-gethnm.c
tst-network.c * include/stdio.h (__isoc99_fscanf, __isoc99_scanf, 2007-09-18 19:04:01 +00:00
tst-ntoa.c
Versions [BZ #2693] 2006-05-25 04:50:06 +00:00