summary refs log tree commit diff
path: root/locale
Commit message (Collapse)AuthorAgeFilesLines
* Consistently include Makeconfig after defining subdir.Joseph Myers2014-02-261-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.
* Use glibc_likely instead __builtin_expect.Ondřej Bílka2014-02-104-12/+12
|
* Update remaining copyright datesAllan McRae2014-01-012-2/+2
| | | | Update copyright years that are not handled by scripts/update-copyright.
* Update copyright notices with scripts/update-copyrightsAllan McRae2014-01-0199-99/+99
|
* locale: don't crash if locale-archive contains all zerosAurelien Jarno2013-12-031-0/+4
| | | | | | | | | In case of power failure followed by filesystem issues locale-archive can end-up containing all zeros. In that case all calls to setlocale() generate a SIGFPE. This renders a system with a default non-C locale unbootable. Avoid this by ignoring the locale instead of generating a SIGFPE.
* Fix build warning in locarchive.cSiddhesh Poyarekar2013-11-201-3/+3
|
* Rename Oriya locale to Odia (bug 15601)Siddhesh Poyarekar2013-11-201-1/+1
| | | | | | | | | | | | The state of Orissa was officially renamed the state to Odisha and the language from Oriya to Odia in 2010. References: http://zeenews.india.com/election09/story.aspx?aid=739995 http://orissamatters.com/2011/11/07/orissa-became-odisha/ http://www.ndtv.com/article/india/parliament-passes-bill-to-change-orissa-s-name-93888 http://orissa.gov.in/e-magazine/Orissareview/2011/Nov/engpdf/9-17.pdf
* Complete display of LC_MONETARYAndreas Schwab2013-11-193-1/+21
|
* Properly handle unavailable elements in LC_MONETARY categoryAndreas Schwab2013-11-185-28/+28
|
* Add Chitwani Tharu (the)Chris Leonard2013-11-151-0/+1
|
* Fix country_num element in LC_ADDRESS for C localeAndreas Schwab2013-11-141-1/+1
|
* Correct Walaita (wal) and add Unami Delaware (unm).Chris Leonard2013-11-041-1/+2
|
* Add Quechua, Southern (quz) and Silesian (szl) to iso-639.def.Chris Leonard2013-11-031-0/+2
|
* Add Central Nahuatl (nhn).Chris Leonard2013-11-011-0/+1
|
* Add Meadow Mari (mhr).Chris Leonard2013-10-311-0/+1
|
* Adjust language-code fields of LC_ADDRESS.Chris Leonard2013-10-241-0/+1
|
* Enhance localedef --list-archive option.Carlos O'Donell2013-10-185-10/+28
| | | | | | | | | | The localedef --list-archive option claims that it can accept a [file] argument and list the contents of that archive. The support was never implemented. This patch adds that support and allows --list-archive to work as expected. You can now use localedef to list the contents of arbitrary locale archives by using: ./localedef --list-archive file
* Fix localedef collation handling of <U0000> (bug 15948).Richard Sandiford2013-10-181-0/+4
|
* Fix typo in setlocale.c. Fixes BZ #15764Reuben Thomas2013-10-121-1/+1
|
* Clean up locale file alignment handling.Joseph Myers2013-10-085-7/+9
|
* Fix typos in 3166.def.Chris Leonard2013-10-041-1/+1
|
* Correct error in iso-3166.defChris Leonard2013-10-041-1/+1
|
* Update iso-1366.def and related occurrencesChris Leonard2013-10-041-3/+9
|
* Hardcode locale archive page size as 4096.Joseph Myers2013-10-031-1/+6
|
* Remove locale file dependence on int32_t alignment.Joseph Myers2013-10-033-32/+32
|
* Fix ayc_PE.UTF-8 and lzh_TW.UTF-8 build issuesChris Leonard2013-09-281-0/+1
|
* Add localedef --big-endian and --little-endian options.Joseph Myers2013-09-245-190/+292
|
* Make locale archive hash function architecture-independent.Joseph Myers2013-09-231-1/+1
|
* Update iso-639.defChris Leonard2013-09-191-1/+15
|
* Fix some types in localedef.Richard Sandiford2013-09-131-4/+3
|
* Make localedef output generation use more logical interfaces.Richard Sandiford2013-09-0615-1611/+658
|
* Update iso-1427.def and related occurrences.Chris Leonard2013-09-041-16/+8
|
* Fix then/than typos.Ondřej Bílka2013-08-302-2/+2
|
* Fix missing declaration of LC_CTYPE nonascii-case elementAndreas Schwab2013-08-271-0/+1
|
* Fix missing libc-internal.h include.Richard Henderson2013-06-251-0/+1
| | | | * locale/programs/locarchive.c: Include <libc-internal.h>
* [BZ #10283] localedef: align fixed maps to SHMLBAMike Frysinger2013-06-242-16/+52
| | | | | | | | | | | | Many Linux arches require fixed mmaps to be aligned higher than pagesize, so use the SHMLBA define as it represents this quantity exactly. This fixes spurious errors seen on those arches like: cannot map archive header: Invalid argument URL: http://sourceware.org/bugzilla/show_bug.cgi?id=10283 Reported-by: CHIKAMA Masaki <masaki.chikama@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Convert iso-639.def to utf-8Siddhesh Poyarekar2013-06-111-5/+5
|
* Fix leading whitespaces.Ondrej Bilka2013-06-062-2/+2
|
* Add #include <stdint.h> to locale/gen-translit.pl and fix C-translit.h.Ryan S. Arnold2013-06-052-1/+2
|
* Link extra-libs consistently with libc and ld.so.Joseph Myers2013-05-311-6/+0
|
* localedef: include file name in error messagesMike Frysinger2013-05-251-2/+2
| | | | | | | | | | When mkstemp fails, the error message the user gets back is: cannot create temporary file: No such file or directory That isn't terribly useful in figuring out why, so include the full filename we tried to create in the error output. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold2013-05-1627-0/+29
|
* Use *stat64 instead of *stat in installed programsFlorian Weimer2013-05-102-14/+14
| | | | | This ensures reliable operation on file systems with inode numbers which do not fit into 32 bits.
* BZ#14812: Add missing N_ markers in localedef.Roland McGrath2013-03-201-5/+6
|
* Fix some build warningsSiddhesh Poyarekar2013-02-261-1/+1
|
* unify xmalloc prototypes & friendsMike Frysinger2013-02-183-15/+3
| | | | | | | | These prototypes are duplicated in many places. Add a dedicated header for holding prototypes for program-specific functions to avoid that. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Remove lots of inline keywords.Roland McGrath2013-02-073-3/+3
|
* Fix "localedef --posix" descriptionAllan McRae2013-01-031-1/+1
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-0299-107/+99
|
* Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers2013-01-012-4/+2
|