aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs
AgeCommit message (Collapse)AuthorFilesLines
2014-02-26Consistently include Makeconfig after defining subdir.Joseph Myers1-0/+2
In <https://sourceware.org/ml/libc-alpha/2014-01/msg00196.html> I noted it was necessary to add includes of Makeconfig early in various subdirectory makefiles for the tests-special variable settings added by that patch to be conditional on configuration information. No-one commented on the general question there of whether Makeconfig should always be included immediately after the definition of subdir. This patch implements that early inclusion of Makeconfig in each directory (which is a lot easier than consistent placement of includes of Rules). Includes are added if needed, or moved up if already present. Subdirectory "all:" targets are removed, since Makeconfig provides one. There is potential for further cleanups I haven't done. Rules and Makerules have code such as ifneq "$(findstring env,$(origin headers))" "" headers := endif to override to empty any value of various variables that came from the environment. I think there is a case for Makeconfig setting all the subdirectory variables (other than subdir) to empty to ensure no outside value is going to take effect if a subdirectory fails to define a variable. (A list of such variables, possibly out of date and incomplete, is in manual/maint.texi.) Rules and Makerules would give errors if Makeconfig hadn't already been included, instead of including it themselves. The special code to override values coming from the environment would then be obsolete and could be removed. Tested x86_64, including that installed binaries are identical before and after the patch. * argp/Makefile: Include Makeconfig immediately after defining subdir. * assert/Makefile: Likewise. * benchtests/Makefile: Likewise. * catgets/Makefile: Likewise. * conform/Makefile: Likewise. * crypt/Makefile: Likewise. * csu/Makefile: Likewise. (all): Remove target. * ctype/Makefile: Include Makeconfig immediately after defining subdir. * debug/Makefile: Likewise. * dirent/Makefile: Likewise. * dlfcn/Makefile: Likewise. * gmon/Makefile: Likewise. * gnulib/Makefile: Likewise. * grp/Makefile: Likewise. * gshadow/Makefile: Likewise. * hesiod/Makefile: Likewise. * hurd/Makefile: Likewise. (all): Remove target. * iconvdata/Makefile: Include Makeconfig immediately after defining subdir. * inet/Makefile: Likewise. * intl/Makefile: Likewise. * io/Makefile: Likewise. * libio/Makefile: Likewise. (all): Remove target. * locale/Makefile: Include Makeconfig immediately after defining subdir. * login/Makefile: Likewise. * mach/Makefile: Likewise. (all): Remove target. * malloc/Makefile: Include Makeconfig immediately after defining subdir. (all): Remove target. * manual/Makefile: Include Makeconfig immediately after defining subdir. * math/Makefile: Likewise. * misc/Makefile: Likewise. * nis/Makefile: Likewise. * nss/Makefile: Likewise. * po/Makefile: Likewise. (all): Remove target. * posix/Makefile: Include Makeconfig immediately after defining subdir. * pwd/Makefile: Likewise. * resolv/Makefile: Likewise. * resource/Makefile: Likewise. * rt/Makefile: Likewise. * setjmp/Makefile: Likewise. * shadow/Makefile: Likewise. * signal/Makefile: Likewise. * socket/Makefile: Likewise. * soft-fp/Makefile: Likewise. * stdio-common/Makefile: Likewise. * stdlib/Makefile: Likewise. * streams/Makefile: Likewise. * string/Makefile: Likewise. * sunrpc/Makefile: Likewise. (all): Remove target. * sysvipc/Makefile: Include Makeconfig immediately after defining subdir. * termios/Makefile: Likewise. * time/Makefile: Likewise. * timezone/Makefile: Likewise. (all): Remove target. * wcsmbs/Makefile: Include Makeconfig immediately after defining subdir. * wctype/Makefile: Likewise. libidn/ChangeLog: * Makefile: Include Makeconfig immediately after defining subdir. localedata/ChangeLog: * Makefile: Include Makeconfig immediately after defining subdir. (all): Remove target. nptl/ChangeLog: * Makefile: Include Makeconfig immediately after defining subdir. nptl_db/ChangeLog: * Makefile: Include Makeconfig immediately after defining subdir.
2014-02-10Use glibc_likely instead __builtin_expect.Ondřej Bílka4-5/+5
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae88-88/+88
2013-12-06PowerPC: multiarch wcscpy for PowerPC32Adhemerval Zanella1-1/+5
2013-12-06PowerPC: multiarch wcsrchr for PowerPC32Adhemerval Zanella1-1/+4
2013-06-07Avoid use of "register" as optimization hint.Joseph Myers11-23/+23
2013-05-16Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold1-1/+1
2013-02-17Sort Versions filesAndreas Jaeger1-4/+4
2013-01-10Remove __GNUC__ conditions for "long long" from string.h and wchar.h.Joseph Myers1-4/+4
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers88-93/+88
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers1-2/+1
2012-10-19Add wcsmbs IFUNC testsH.J. Lu7-0/+122
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.