aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs
AgeCommit message (Collapse)Author
2012-04-29Fix attributes for fortify functions.Marek Polacek
2012-03-30Fix a bug when converting strings with 1 character using TCVN5712-1Tulio Magno Quites Machado Filho
It isn't necessary to buffer the last character of strings. This can cause a bug with strings that have 1 character between 0x0041 and 0x01b0. [BZ #13691] * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings with only 1 character between 0x0041 and 0x01b0. * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs. * wcsmbs/tst-mbsnrtowcs.c: New file.
2012-03-07Remove distribute variable from MakefilesUlrich Drepper
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert
2012-01-24Use newly built locales for tst-c16c32-1.Joseph Myers
2012-01-21Fix version check in uchar.hUlrich Drepper
2012-01-08Simplify char16_t implementationUlrich Drepper
2012-01-07Remove pre-ISO C supportUlrich Drepper
No more __const.
2012-01-07More char16_t and char32_t supportUlrich Drepper
It works now for UTF-8 locales
2012-01-06Fix C11 header changes for C++.Joseph Myers
2012-01-03Typo in test for C11-capable compilerUlrich Drepper
2012-01-01Add uchar.h support, part 1Ulrich Drepper
c16 support for locales other than the C locale is still missing.
2012-01-01Start of uchar.h workUlrich Drepper
2012-01-01Add missing restrict in mbrtowc declarationUlrich Drepper
2011-12-17Optimized wcschr and wcscpy for x86-64 and x86-32Ulrich Drepper
2011-12-17Add tests for wcsrchr and wcscpyUlrich Drepper
2011-10-25Use correct signedness in default implementations of wcscmp and wmemcmpAndreas Schwab
2011-10-24Fix lost wcslen symbolAndreas Schwab
2011-10-23Add optimized wcslen and strnlen for x86-32Liubov Dmitrieva
2011-10-23Add wcschr test casesLiubov Dmitrieva
2011-10-23Add wcslen test casesLiubov Dmitrieva
2011-10-23Fix signedness in wcscmp comparisonLiubov Dmitrieva
2011-10-15Fix lost wmemcmp symbolAndreas Schwab
2011-10-15Optimized memcmp and wmemcmp for x86-64 and x86-32Liubov Dmitrieva
2011-09-08Move wide char tests to wcsmbs directoryUlrich Drepper
2011-09-05Add x86-32 optimized wcscmpUlrich Drepper
2011-04-01Fix visibility of declarations of wcpcpy and wcpncpy.Ulrich Drepper
2011-04-01Fix typos in comments.Ulrich Drepper
2011-03-10Remove __restrict quals from wmemcmp prototype.Jakub Jelinek
2010-12-10Declare wcpcpy and wcpncpy only under _GNU_SOURCEAndreas Schwab
2010-12-10Fix use of restrict in wchar.hAndreas Schwab
2010-10-03Fix handling of tail bytes of buffer in SSE2/SSSE3 x86-64 version strn{,case}cmpUlrich Drepper
2010-06-14Fix a couple of __REDIRECT () __THROW occurrencesJakub Jelinek
This patch fixes some cases which fail to parse with C++.
2010-03-24Unify wint_t handling in wchar.h and wctype.h.Ulrich Drepper
Fix a few typos in the process.
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-05-16Remove redundant .gitignore files.Andreas Schwab
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering
2009-04-07* wcsmbs/wcsatcliff.c (MEMCHR): Define.Ulrich Drepper
2009-02-26* wctype/wctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper
* wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy, wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs, wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l. * sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from 200112L to 200809L. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. * posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT entries. * bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT. * posix/unistd.h: fexecve is in POSIX 2008. * time/time.h: strftime_l is in POSIX 2008. * io/sys/stat.h: futimens is in POSIX 2008. * string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008. * string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal, strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008. * stdlib/stdlib.h: mkdtemp is in POSIX 2008.
2009-01-29 Jakub Jelinek <jakub@redhat.com>Ulrich Drepper
* string.h: Define correct C++ prototypes for gcc 4.4. * wchar.h: Likewise. 2009-01-29 Ulrich Drepper <drepper@redhat.com>
2009-01-02* wcsmbs/wcsnrtombs.c (__wcsnrtombs): Create temporary state objectcvs/fedora-glibc-20090102T2110cvs/fedora-glibc-20090102T2040Ulrich Drepper
if no output is written.
2008-12-29[BZ #9694]Ulrich Drepper
* wcsmbs/wchar.h: Move undefs for local __need_* constants to the very end.
2008-12-26[BZ #9677]Ulrich Drepper
2008-12-21 Bruno Haible <bruno@clisp.org> [BZ #9677] * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Create temporary state object if no output is written.
2008-04-11[BZ #5443]Ulrich Drepper
2008-04-11 Jakub Jelinek <jakub@redhat.com> [BZ #5443] * time/era.c: Transform __libc_setlocale_lock into rwlock. * time/alt_digit.c: Likewise. * wcsmbs/wcsmbsload.c: Likewise.
2007-12-10[BZ #5424, BZ #5428, BZ #5451]Ulrich Drepper
2007-12-08 Ulrich Drepper <drepper@redhat.com> [BZ #5424] * stdio-common/vfprintf.c: Do not overflow when adding to done. * stdio-common/Makefile (tests): Add bug22. * stdio-common/bug22.c: New file. [BZ #5451] * time/getdate.c: Fix filling in default values. * time/bug-getdate1.c: New file. * time/Makefile: Add rules to build and run bug-getdate1. * iconvdata/ebcdic-is-friss.c: Use 8bit-gap instead of 8bit-generic. * iconvdata/ebcdic-es.c: Likewise. * iconvdata/ebcdic-es-a.c: Likewise. * iconvdata/ebcdic-uk.c: Likewise. * iconvdata/iso8859-16.c: Likewise. * iconvdata/viscii.c: Likewise. * iconvdata/iso8859-9e.c: Likewise. * iconvdata/Makefile: Adjust appropriately. [BZ #5428] * wcsmbs/wchar.h: Unconditionally undefine __need_mbstate and __need_wint_t. * iconvdata/gconv-modules: Likewise.
2007-11-26Define __need_FILE also for __USE_XOPEN2K.Ulrich Drepper
* wcsmbs/wchar.h: Define __need_file also for __USE_XOPEN2K.
2007-10-07[BZ #2633]Ulrich Drepper
* wcsmbs/wchar.h: Move many C99 functions into std namespace.
2007-10-03* misc/sys/cdefs.h (__REDIRECT_LDBL, __REDIRECT_NTH_LDBL): New macros.Ulrich Drepper
* wcsmbs/bits/wchar2.h (__swprintf_alias, __vswprintf_alias): Use __REDIRECT_NTH_LDBL macro rather than __REDIRECT_NTH.
2007-09-26* misc/sys/cdefs.h (__warndecl, __errordecl): For GCC 4.3+ defineUlrich Drepper
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-23[BZ #4963]Ulrich Drepper
* wcsmbs/wcsnlen.c: Don't reference before checking the length. * string/stratcliff.c: Make usable to test wide char functions. * wcsmbs/wcsatcliff.c: New file. * wcsmbs/Makefiel (tests): Add wcsatcliff.