aboutsummaryrefslogtreecommitdiff
path: root/locale
AgeCommit message (Collapse)AuthorFilesLines
2014-09-05_nl_find_locale: Improve handling of crafted locale names [BZ #17137]Florian Weimer1-13/+61
Prevent directory traversal in locale-related environment variables (CVE-2014-0475). (cherry picked from commit 4e8f95a0df7c2300b830ec12c0ae1e161bc8a8a3) Addiational backporting fixes: Added tst-setlocale3-ENV to localedata/Makefile Conflicts: NEWS localedata/Makefile
2014-09-05setlocale: Use the heap for the copy of the locale argumentFlorian Weimer1-2/+12
This avoids alloca calls with potentially large arguments. (cherry picked from commit d183645616b0533b3acee28f1a95570bffbdf50f)
2014-01-01Update remaining copyright datesAllan McRae2-2/+2
Update copyright years that are not handled by scripts/update-copyright.
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae99-99/+99
2013-12-03locale: don't crash if locale-archive contains all zerosAurelien Jarno1-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.
2013-11-20Fix build warning in locarchive.cSiddhesh Poyarekar1-3/+3
2013-11-20Rename Oriya locale to Odia (bug 15601)Siddhesh Poyarekar1-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
2013-11-19Complete display of LC_MONETARYAndreas Schwab3-1/+21
2013-11-18Properly handle unavailable elements in LC_MONETARY categoryAndreas Schwab5-28/+28
2013-11-15Add Chitwani Tharu (the)Chris Leonard1-0/+1
2013-11-14Fix country_num element in LC_ADDRESS for C localeAndreas Schwab1-1/+1
2013-11-04Correct Walaita (wal) and add Unami Delaware (unm).Chris Leonard1-1/+2
2013-11-03Add Quechua, Southern (quz) and Silesian (szl) to iso-639.def.Chris Leonard1-0/+2
2013-11-01Add Central Nahuatl (nhn).Chris Leonard1-0/+1
2013-10-31Add Meadow Mari (mhr).Chris Leonard1-0/+1
2013-10-24Adjust language-code fields of LC_ADDRESS.Chris Leonard1-0/+1
2013-10-18Enhance localedef --list-archive option.Carlos O'Donell5-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
2013-10-18Fix localedef collation handling of <U0000> (bug 15948).Richard Sandiford1-0/+4
2013-10-12Fix typo in setlocale.c. Fixes BZ #15764Reuben Thomas1-1/+1
2013-10-08Clean up locale file alignment handling.Joseph Myers5-7/+9
2013-10-04Fix typos in 3166.def.Chris Leonard1-1/+1
2013-10-04Correct error in iso-3166.defChris Leonard1-1/+1
2013-10-04Update iso-1366.def and related occurrencesChris Leonard1-3/+9
2013-10-03Hardcode locale archive page size as 4096.Joseph Myers1-1/+6
2013-10-03Remove locale file dependence on int32_t alignment.Joseph Myers3-32/+32
2013-09-28Fix ayc_PE.UTF-8 and lzh_TW.UTF-8 build issuesChris Leonard1-0/+1
2013-09-24Add localedef --big-endian and --little-endian options.Joseph Myers5-190/+292
2013-09-23Make locale archive hash function architecture-independent.Joseph Myers1-1/+1
2013-09-19Update iso-639.defChris Leonard1-1/+15
2013-09-13Fix some types in localedef.Richard Sandiford1-4/+3
2013-09-06Make localedef output generation use more logical interfaces.Richard Sandiford15-1611/+658
2013-09-04Update iso-1427.def and related occurrences.Chris Leonard1-16/+8
2013-08-30Fix then/than typos.Ondřej Bílka2-2/+2
2013-08-27Fix missing declaration of LC_CTYPE nonascii-case elementAndreas Schwab1-0/+1
2013-06-25Fix missing libc-internal.h include.Richard Henderson1-0/+1
* locale/programs/locarchive.c: Include <libc-internal.h>
2013-06-24[BZ #10283] localedef: align fixed maps to SHMLBAMike Frysinger2-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>
2013-06-11Convert iso-639.def to utf-8Siddhesh Poyarekar1-5/+5
2013-06-06Fix leading whitespaces.Ondrej Bilka2-2/+2
2013-06-05Add #include <stdint.h> to locale/gen-translit.pl and fix C-translit.h.Ryan S. Arnold2-1/+2
2013-05-31Link extra-libs consistently with libc and ld.so.Joseph Myers1-6/+0
2013-05-25localedef: include file name in error messagesMike Frysinger1-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>
2013-05-16Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold27-0/+29
2013-05-10Use *stat64 instead of *stat in installed programsFlorian Weimer2-14/+14
This ensures reliable operation on file systems with inode numbers which do not fit into 32 bits.
2013-03-20BZ#14812: Add missing N_ markers in localedef.Roland McGrath1-5/+6
2013-02-26Fix some build warningsSiddhesh Poyarekar1-1/+1
2013-02-18unify xmalloc prototypes & friendsMike Frysinger3-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>
2013-02-07Remove lots of inline keywords.Roland McGrath3-3/+3
2013-01-03Fix "localedef --posix" descriptionAllan McRae1-1/+1
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers99-107/+99
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers2-4/+2