glibc/wcsmbs
Ulrich Drepper d6cd6bf4de * misc/sys/cdefs.h (__warndecl, __errordecl): For GCC 4.3+ define
with __warning__/__error__ attributes.
	(__warnattr): Define.
	* stdlib/bits/stdlib.h (__realpath_chk_warn, __ptsname_r_chk_warn,
	__mbstowcs_chk_warn, __wcstombs_chk_warn): New aliases with
	__warnattr.
	(realpath, ptsname_r, mbstowcs, wcstombs): Call __*_chk_warn instead
	of __*_chk if compile time detectable overflow is found.
	* libio/bits/stdio2.h (__fgets_chk_warn, __fread_chk_warn,
	__fgets_unlocked_chk_warn, __fread_unlocked_chk_warn): New aliases
	with __warnattr.
	(fgets, fread, fgets_unlocked, fread_unlocked): Call __*_chk_warn
	instead of __*_chk if compile time detectable overflow is found.
	(__gets_alias): Rename to...
	(__gets_warn): ... this.  Add __warnattr.
	(gets): Call __gets_warn instead of __gets_alias.
	* socket/bits/socket2.h (__recv_chk_warn, __recvfrom_chk_warn): New
	aliases with __warnattr.
	(recv, recvfrom): Call __*_chk_warn instead of __*_chk if compile
	time detectable overflow is found.
	* posix/bits/unistd.h (__read_chk_warn, __pread_chk_warn,
	__pread64_chk_warn, __readlink_chk_warn, __readlinkat_chk_warn,
	__getcwd_chk_warn, __confstr_chk_warn, __getgroups_chk_warn,
	__ttyname_r_chk_warn, __getlogin_r_chk_warn, __gethostname_chk_warn,
	__getdomainname_chk_warn): New aliases with __warnattr.
	(read, pread, pread64, readlink, readlinkat, getcwd, confstr,
	getgroups, ttyname_r, getlogin_r, gethostname, getdomainname): Call
	__*_chk_warn instead of __*_chk if compile time detectable overflow
	is found.
	(__getgroups_chk): Rename argument to __listlen from listlen.
	(__getwd_alias): Rename to...
	(__getwd_warn): ... this.  Add __warnattr.
	(getwd): Call __getwd_warn instead of __getwd_alias.
	* wcsmbs/bits/wchar2.h (__wmemcpy_chk_warn, __wmemmove_chk_warn,
	__wmempcpy_chk_warn, __wmemset_chk_warn, __wcsncpy_chk_warn,
	__wcpncpy_chk_warn, __fgetws_chk_warn, __fgetws_unlocked_chk_warn,
	__mbsrtowcs_chk_warn, __wcsrtombs_chk_warn, __mbsnrtowcs_chk_warn,
	__wcsnrtombs_chk_warn): New aliases with __warnattr.
	(wmemcpy, wmemmove, wmempcpy, wmemset, mbsrtowcs, wcsrtombs,
	mbsnrtowcs, wcsnrtombs): Call __*_chk_warn instead of __*_chk if
	compile time detectable overflow is found.
	(wcsncpy, wcpncpy): Likewise.  For constant __n fix check whether
	to use __*_chk or not.
	(fgetws, fgetws_unlocked): Divide __bos by sizeof (wchar_t), both
	in comparisons which function should be called and in __*_chk*
	arguments.  Call __*_chk_warn instead of __*_chk if compile time
	detectable overflow is found.
	(swprintf, vswprintf): Divide __bos by sizeof (wchar_t) in
	__*_chk argument.
	* debug/tst-chk1.c (do_test): Add a few more tests.
2007-09-26 20:45:18 +00:00
..
bits * misc/sys/cdefs.h (__warndecl, __errordecl): For GCC 4.3+ define 2007-09-26 20:45:18 +00:00
.cvsignore Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-14 20:30:25 +00:00
Depend Update. 2000-09-06 22:15:07 +00:00
Makefile [BZ #4963] 2007-09-23 18:27:55 +00:00
Versions * include/stdio.h (__isoc99_fscanf, __isoc99_scanf, 2007-09-18 19:04:01 +00:00
btowc.c * iconv/gconv.c: Demangle pointers before use if necessary. 2005-12-19 07:26:29 +00:00
isoc99_fwscanf.c * include/stdio.h (__isoc99_fscanf, __isoc99_scanf, 2007-09-18 19:04:01 +00:00
isoc99_swscanf.c * include/stdio.h (__isoc99_fscanf, __isoc99_scanf, 2007-09-18 19:04:01 +00:00
isoc99_vfwscanf.c * include/stdio.h (__isoc99_fscanf, __isoc99_scanf, 2007-09-18 19:04:01 +00:00
isoc99_vswscanf.c * include/stdio.h (__isoc99_fscanf, __isoc99_scanf, 2007-09-18 19:04:01 +00:00
isoc99_vwscanf.c * include/stdio.h (__isoc99_fscanf, __isoc99_scanf, 2007-09-18 19:04:01 +00:00
isoc99_wscanf.c * include/stdio.h (__isoc99_fscanf, __isoc99_scanf, 2007-09-18 19:04:01 +00:00
mbrlen.c Update. 2002-08-03 07:02:10 +00:00
mbrtowc.c * iconv/gconv.c: Demangle pointers before use if necessary. 2005-12-19 07:26:29 +00:00
mbsinit.c Update. 2003-11-15 21:58:21 +00:00
mbsnrtowcs.c * iconv/gconv.c: Demangle pointers before use if necessary. 2005-12-19 07:26:29 +00:00
mbsrtowcs.c Update. 2004-03-15 01:09:34 +00:00
mbsrtowcs_l.c * iconv/gconv.c: Demangle pointers before use if necessary. 2005-12-19 07:26:29 +00:00
tst-btowc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-mbrtowc.c Update. 2003-01-16 02:27:47 +00:00
tst-mbrtowc2.c * wcsmbs/tst-mbrtowc2.c: Use de_DE.UTF-8 instead of en_US.UTF-8. 2005-10-15 15:38:52 +00:00
tst-mbsrtowcs.c * posix/tst-execle1.c (do_test): Add a const. 2005-12-27 22:50:12 +00:00
tst-wchar-h.c * wcsmbs/Makefile: Add rules to build and run tst-wchar-h. 2005-07-24 20:03:14 +00:00
tst-wcpncpy.c Update. 2004-05-19 16:52:55 +00:00
tst-wcrtomb.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-wcsnlen.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-wcstof.c Update. 1997-08-04 14:31:26 +00:00
wchar.h * include/stdio.h (__isoc99_fscanf, __isoc99_scanf, 2007-09-18 19:04:01 +00:00
wcpcpy.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wcpncpy.c (tests): Add tst-wcpncpy. 2003-07-22 19:23:54 +00:00
wcrtomb.c * iconv/gconv.c: Demangle pointers before use if necessary. 2005-12-19 07:26:29 +00:00
wcsatcliff.c [BZ #4963] 2007-09-23 18:27:55 +00:00
wcscasecmp.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wcscasecmp_l.c * locale/Versions (libc: GLIBC_2.3): Add all the *_l functions 2002-08-06 08:40:20 +00:00
wcscat.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wcschr.c 2002-08-05 Jakub Jelinek <jakub@redhat.com> 2002-08-05 22:11:14 +00:00
wcschrnul.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wcscmp.c 2002-08-05 Jakub Jelinek <jakub@redhat.com> 2002-08-05 22:11:14 +00:00
wcscoll.c * include/libc-symbols.h (__hidden_proto): Remove bogus declaration 2005-03-17 21:06:39 +00:00
wcscoll_l.c Update. 2004-03-14 21:12:06 +00:00
wcscpy.c Update. 2003-02-01 20:53:16 +00:00
wcscspn.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wcsdup.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wcslen.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wcsmbs-tst1.c Update. 2003-07-31 19:26:38 +00:00
wcsmbsload.c (to_wc): Mark as const. (to_mb): Likewise. 2005-12-19 00:24:49 +00:00
wcsmbsload.h * locale/localeinfo.h (struct locale_data): Add private.ctype. 2002-09-02 19:34:39 +00:00
wcsncase.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wcsncase_l.c * locale/Versions (libc: GLIBC_2.3): Add all the *_l functions 2002-08-06 08:40:20 +00:00
wcsncat.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wcsncmp.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wcsncpy.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wcsnlen.c [BZ #4963] 2007-09-23 18:27:55 +00:00
wcsnrtombs.c * iconv/gconv.c: Demangle pointers before use if necessary. 2005-12-19 07:26:29 +00:00
wcspbrk.c 2002-08-05 Jakub Jelinek <jakub@redhat.com> 2002-08-05 22:11:14 +00:00
wcsrchr.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wcsrtombs.c * iconv/gconv.c: Demangle pointers before use if necessary. 2005-12-19 07:26:29 +00:00
wcsspn.c 2002-08-05 Jakub Jelinek <jakub@redhat.com> 2002-08-05 22:11:14 +00:00
wcsstr.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wcstod.c Update. 2004-03-14 21:12:06 +00:00
wcstod_l.c Update. 2004-03-14 21:12:06 +00:00
wcstof.c Update. 2004-03-14 21:12:06 +00:00
wcstof_l.c Update. 2004-03-14 21:12:06 +00:00
wcstok.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wcstol.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
wcstol_l.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
wcstold.c Update. 2004-03-14 21:12:06 +00:00
wcstold_l.c Update. 2004-03-14 21:12:06 +00:00
wcstoll.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
wcstoll_l.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
wcstoul.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
wcstoul_l.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
wcstoull.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
wcstoull_l.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
wcswidth.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wcsxfrm.c Update. 2004-03-14 21:12:06 +00:00
wcsxfrm_l.c Update. 2004-03-14 21:12:06 +00:00
wctob.c * iconv/gconv.c: Demangle pointers before use if necessary. 2005-12-19 07:26:29 +00:00
wcwidth.c Update. 2001-08-19 01:09:06 +00:00
wcwidth.h * sysdeps/generic/libc-tls.c (__pthread_initialize_minimal): Pass 2002-09-01 12:39:40 +00:00
wmemchr.c * include/rpc/auth.h: Use libc_hidden_proto for getnetname, 2002-08-06 06:09:28 +00:00
wmemcmp.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wmemcpy.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wmemmove.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wmempcpy.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wmemset.c * include/rpc/auth.h: Use libc_hidden_proto for getnetname, 2002-08-06 06:09:28 +00:00