aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs
AgeCommit message (Collapse)AuthorFilesLines
2012-08-17Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO.Roland McGrath1-3/+2
2012-05-31tests: move -D_FORTIFY_SOURCE to CPPFLAGSMike Frysinger1-1/+1
The -D_FORTIFY_SOURCE flags are being added to the test-specific CFLAGS values when they should be the test-specific CPPFLAGS values. Otherwise the values don't override the user-specified CPPFLAGS and might end up breaking the tests. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-21[BZ #13691], Revert breakage of iconv() converter for TCVN-5712.Andreas Jaeger2-85/+1
* iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider inptr and inend for must_buffer_ch. * wcsmbs/tst-mbsnrtowcs.c: Remove file. * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs. * stdio-common/Makefile (tests): Remove bug15. (bug15-ENV): Remove macro. * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1 anymore. localedata: * SUPPORTED: Remove vi_VN.TCVN/TCVN5712-1. * tst-strptime.c: Remove, we do not support vi_VN.TCVN5712-1 anymore. * Makefile (LOCALES): Remove vi_VN.TCVN5712-1 from list. (tests): Remove tst-strptime.
2012-04-29Fix attributes for fortify functions.Marek Polacek3-28/+28
2012-03-30Fix a bug when converting strings with 1 character using TCVN5712-1Tulio Magno Quites Machado Filho2-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.
2012-03-07Remove distribute variable from MakefilesUlrich Drepper1-1/+0
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert82-246/+164
2012-01-24Use newly built locales for tst-c16c32-1.Joseph Myers1-0/+1
2012-01-21Fix version check in uchar.hUlrich Drepper1-1/+1
2012-01-08Simplify char16_t implementationUlrich Drepper5-228/+43
2012-01-07Remove pre-ISO C supportUlrich Drepper3-174/+174
No more __const.
2012-01-07More char16_t and char32_t supportUlrich Drepper6-53/+241
It works now for UTF-8 locales
2012-01-06Fix C11 header changes for C++.Joseph Myers1-2/+2
2012-01-03Typo in test for C11-capable compilerUlrich Drepper2-4/+4
2012-01-01Add uchar.h support, part 1Ulrich Drepper10-13/+363
c16 support for locales other than the C locale is still missing.
2012-01-01Start of uchar.h workUlrich Drepper2-1/+77
2012-01-01Add missing restrict in mbrtowc declarationUlrich Drepper1-1/+1
2011-12-17Optimized wcschr and wcscpy for x86-64 and x86-32Ulrich Drepper1-1/+4
2011-12-17Add tests for wcsrchr and wcscpyUlrich Drepper3-1/+5
2011-10-25Use correct signedness in default implementations of wcscmp and wmemcmpAndreas Schwab2-20/+20
2011-10-24Fix lost wcslen symbolAndreas Schwab1-3/+3
2011-10-23Add optimized wcslen and strnlen for x86-32Liubov Dmitrieva1-3/+8
2011-10-23Add wcschr test casesLiubov Dmitrieva2-1/+3
2011-10-23Add wcslen test casesLiubov Dmitrieva2-1/+3
2011-10-23Fix signedness in wcscmp comparisonLiubov Dmitrieva1-2/+2
2011-10-15Fix lost wmemcmp symbolAndreas Schwab1-2/+2
2011-10-15Optimized memcmp and wmemcmp for x86-64 and x86-32Liubov Dmitrieva1-9/+12
2011-09-08Move wide char tests to wcsmbs directoryUlrich Drepper3-2/+7
2011-09-05Add x86-32 optimized wcscmpUlrich Drepper1-2/+5
2011-04-01Fix visibility of declarations of wcpcpy and wcpncpy.Ulrich Drepper1-2/+2
2011-04-01Fix typos in comments.Ulrich Drepper1-5/+5
2011-03-10Remove __restrict quals from wmemcmp prototype.Jakub Jelinek1-2/+1
2010-12-10Declare wcpcpy and wcpncpy only under _GNU_SOURCEAndreas Schwab1-2/+0
2010-12-10Fix use of restrict in wchar.hAndreas Schwab2-22/+28
2010-10-03Fix handling of tail bytes of buffer in SSE2/SSSE3 x86-64 version strn{,case}cmpUlrich Drepper1-0/+2
2010-06-14Fix a couple of __REDIRECT () __THROW occurrencesJakub Jelinek1-8/+8
This patch fixes some cases which fail to parse with C++.
2010-03-24Unify wint_t handling in wchar.h and wctype.h.Ulrich Drepper1-8/+8
Fix a few typos in the process.
2010-01-09Add support for XPG7 testing.Ulrich Drepper2-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.
2009-05-16Remove redundant .gitignore files.Andreas Schwab1-6/+0
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering1-0/+0
2009-04-07* wcsmbs/wcsatcliff.c (MEMCHR): Define.Ulrich Drepper1-0/+1
2009-02-26* wctype/wctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper1-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.
2009-01-29 Jakub Jelinek <jakub@redhat.com>Ulrich Drepper1-0/+51
* 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 Drepper1-0/+4
if no output is written.
2008-12-29[BZ #9694]Ulrich Drepper1-3/+3
* wcsmbs/wchar.h: Move undefs for local __need_* constants to the very end.
2008-12-26[BZ #9677]Ulrich Drepper1-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.
2008-04-11[BZ #5443]Ulrich Drepper1-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.
2007-12-10[BZ #5424, BZ #5428, BZ #5451]Ulrich Drepper1-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.
2007-11-26Define __need_FILE also for __USE_XOPEN2K.Ulrich Drepper1-1/+1
* wcsmbs/wchar.h: Define __need_file also for __USE_XOPEN2K.
2007-10-07[BZ #2633]Ulrich Drepper1-20/+26
* wcsmbs/wchar.h: Move many C99 functions into std namespace.