about summary refs log tree commit diff
path: root/wcsmbs
Commit message (Collapse)AuthorAgeFilesLines
* Fix attributes for fortify functions.Marek Polacek2012-04-293-28/+28
|
* Fix a bug when converting strings with 1 character using TCVN5712-1Tulio Magno Quites Machado Filho2012-03-302-1/+85
| | | | | | | | | | | 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.
* Remove distribute variable from MakefilesUlrich Drepper2012-03-071-1/+0
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0982-246/+164
|
* Use newly built locales for tst-c16c32-1.Joseph Myers2012-01-241-0/+1
|
* Fix version check in uchar.hUlrich Drepper2012-01-211-1/+1
|
* Simplify char16_t implementationUlrich Drepper2012-01-085-228/+43
|
* Remove pre-ISO C supportUlrich Drepper2012-01-073-174/+174
| | | | No more __const.
* More char16_t and char32_t supportUlrich Drepper2012-01-076-53/+241
| | | | It works now for UTF-8 locales
* Fix C11 header changes for C++.Joseph Myers2012-01-061-2/+2
|
* Typo in test for C11-capable compilerUlrich Drepper2012-01-032-4/+4
|
* Add uchar.h support, part 1Ulrich Drepper2012-01-0110-13/+363
| | | | c16 support for locales other than the C locale is still missing.
* Start of uchar.h workUlrich Drepper2012-01-012-1/+77
|
* Add missing restrict in mbrtowc declarationUlrich Drepper2012-01-011-1/+1
|
* Optimized wcschr and wcscpy for x86-64 and x86-32Ulrich Drepper2011-12-171-1/+4
|
* Add tests for wcsrchr and wcscpyUlrich Drepper2011-12-173-1/+5
|
* Use correct signedness in default implementations of wcscmp and wmemcmpAndreas Schwab2011-10-252-20/+20
|
* Fix lost wcslen symbolAndreas Schwab2011-10-241-3/+3
|
* Add optimized wcslen and strnlen for x86-32Liubov Dmitrieva2011-10-231-3/+8
|
* Add wcschr test casesLiubov Dmitrieva2011-10-232-1/+3
|
* Add wcslen test casesLiubov Dmitrieva2011-10-232-1/+3
|
* Fix signedness in wcscmp comparisonLiubov Dmitrieva2011-10-231-2/+2
|
* Fix lost wmemcmp symbolAndreas Schwab2011-10-151-2/+2
|
* Optimized memcmp and wmemcmp for x86-64 and x86-32Liubov Dmitrieva2011-10-151-9/+12
|
* Move wide char tests to wcsmbs directoryUlrich Drepper2011-09-083-2/+7
|
* Add x86-32 optimized wcscmpUlrich Drepper2011-09-051-2/+5
|
* Fix visibility of declarations of wcpcpy and wcpncpy.Ulrich Drepper2011-04-011-2/+2
|
* Fix typos in comments.Ulrich Drepper2011-04-011-5/+5
|
* Remove __restrict quals from wmemcmp prototype.Jakub Jelinek2011-03-101-2/+1
|
* Declare wcpcpy and wcpncpy only under _GNU_SOURCEAndreas Schwab2010-12-101-2/+0
|
* Fix use of restrict in wchar.hAndreas Schwab2010-12-102-22/+28
|
* Fix handling of tail bytes of buffer in SSE2/SSSE3 x86-64 version strn{,case}cmpUlrich Drepper2010-10-031-0/+2
|
* Fix a couple of __REDIRECT () __THROW occurrencesJakub Jelinek2010-06-141-8/+8
| | | | This patch fixes some cases which fail to parse with C++.
* Unify wint_t handling in wchar.h and wctype.h.Ulrich Drepper2010-03-241-8/+8
| | | | Fix a few typos in the process.
* Add support for XPG7 testing.Ulrich Drepper2010-01-092-8/+8
| | | | | The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
* Remove redundant .gitignore files.Andreas Schwab2009-05-161-6/+0
|
* rename each .cvsignore file to .gitignoreJim Meyering2009-05-151-0/+0
|
* * wcsmbs/wcsatcliff.c (MEMCHR): Define.Ulrich Drepper2009-04-071-0/+1
|
* * wctype/wctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper2009-02-261-8/+8
| | | | | | | | | | | | | | | | | | | | * 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.
* Jakub Jelinek <jakub@redhat.com>Ulrich Drepper2009-01-291-0/+51
| | | | | | | * string.h: Define correct C++ prototypes for gcc 4.4. * wchar.h: Likewise. 2009-01-29 Ulrich Drepper <drepper@redhat.com>
* * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Create temporary state object cvs/fedora-glibc-20090102T2110 cvs/fedora-glibc-20090102T2040Ulrich Drepper2009-01-021-0/+4
| | | | if no output is written.
* [BZ #9694]Ulrich Drepper2008-12-291-3/+3
| | | | | * wcsmbs/wchar.h: Move undefs for local __need_* constants to the very end.
* [BZ #9677]Ulrich Drepper2008-12-261-1/+5
| | | | | | | 2008-12-21 Bruno Haible <bruno@clisp.org> [BZ #9677] * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Create temporary state object if no output is written.
* [BZ #5443]Ulrich Drepper2008-04-111-4/+4
| | | | | | | | 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.
* [BZ #5424, BZ #5428, BZ #5451]Ulrich Drepper2007-12-101-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Define __need_FILE also for __USE_XOPEN2K.Ulrich Drepper2007-11-261-1/+1
| | | | * wcsmbs/wchar.h: Define __need_file also for __USE_XOPEN2K.
* [BZ #2633]Ulrich Drepper2007-10-071-20/+26
| | | | * wcsmbs/wchar.h: Move many C99 functions into std namespace.
* * misc/sys/cdefs.h (__REDIRECT_LDBL, __REDIRECT_NTH_LDBL): New macros.Ulrich Drepper2007-10-031-8/+8
| | | | | * wcsmbs/bits/wchar2.h (__swprintf_alias, __vswprintf_alias): Use __REDIRECT_NTH_LDBL macro rather than __REDIRECT_NTH.
* * misc/sys/cdefs.h (__warndecl, __errordecl): For GCC 4.3+ defineUlrich Drepper2007-09-261-38/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* [BZ #4963]Ulrich Drepper2007-09-233-6/+30
| | | | | | | * 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.