aboutsummaryrefslogtreecommitdiff
path: root/locale
AgeCommit message (Collapse)Author
2013-12-03locale: don't crash if locale-archive contains all zerosAurelien Jarno
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 Poyarekar
2013-11-20Rename Oriya locale to Odia (bug 15601)Siddhesh Poyarekar
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 Schwab
2013-11-18Properly handle unavailable elements in LC_MONETARY categoryAndreas Schwab
2013-11-15Add Chitwani Tharu (the)Chris Leonard
2013-11-14Fix country_num element in LC_ADDRESS for C localeAndreas Schwab
2013-11-04Correct Walaita (wal) and add Unami Delaware (unm).Chris Leonard
2013-11-03Add Quechua, Southern (quz) and Silesian (szl) to iso-639.def.Chris Leonard
2013-11-01Add Central Nahuatl (nhn).Chris Leonard
2013-10-31Add Meadow Mari (mhr).Chris Leonard
2013-10-24Adjust language-code fields of LC_ADDRESS.Chris Leonard
2013-10-18Enhance localedef --list-archive option.Carlos O'Donell
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 Sandiford
2013-10-12Fix typo in setlocale.c. Fixes BZ #15764Reuben Thomas
2013-10-08Clean up locale file alignment handling.Joseph Myers
2013-10-04Fix typos in 3166.def.Chris Leonard
2013-10-04Correct error in iso-3166.defChris Leonard
2013-10-04Update iso-1366.def and related occurrencesChris Leonard
2013-10-03Hardcode locale archive page size as 4096.Joseph Myers
2013-10-03Remove locale file dependence on int32_t alignment.Joseph Myers
2013-09-28Fix ayc_PE.UTF-8 and lzh_TW.UTF-8 build issuesChris Leonard
2013-09-24Add localedef --big-endian and --little-endian options.Joseph Myers
2013-09-23Make locale archive hash function architecture-independent.Joseph Myers
2013-09-19Update iso-639.defChris Leonard
2013-09-13Fix some types in localedef.Richard Sandiford
2013-09-06Make localedef output generation use more logical interfaces.Richard Sandiford
2013-09-04Update iso-1427.def and related occurrences.Chris Leonard
2013-08-30Fix then/than typos.Ondřej Bílka
2013-08-27Fix missing declaration of LC_CTYPE nonascii-case elementAndreas Schwab
2013-06-25Fix missing libc-internal.h include.Richard Henderson
* locale/programs/locarchive.c: Include <libc-internal.h>
2013-06-24[BZ #10283] localedef: align fixed maps to SHMLBAMike Frysinger
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 Poyarekar
2013-06-06Fix leading whitespaces.Ondrej Bilka
2013-06-05Add #include <stdint.h> to locale/gen-translit.pl and fix C-translit.h.Ryan S. Arnold
2013-05-31Link extra-libs consistently with libc and ld.so.Joseph Myers
2013-05-25localedef: include file name in error messagesMike Frysinger
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. Arnold
2013-05-10Use *stat64 instead of *stat in installed programsFlorian Weimer
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 McGrath
2013-02-26Fix some build warningsSiddhesh Poyarekar
2013-02-18unify xmalloc prototypes & friendsMike Frysinger
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 McGrath
2013-01-03Fix "localedef --posix" descriptionAllan McRae
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers
2013-01-01Update copyright years.David S. Miller
* catgets/gencat.c: Update copyright year. * csu/version.c: Likewise. * debug/catchsegv.sh: Likewise. * debug/pcprofiledump.c: Likewise. * debug/xtrace.sh: Likewise. * elf/ldconfig.c: Likewise. * elf/ldd.bash.in: Likewise. * elf/pldd.c: Likewise. * elf/sotruss.ksh: Likewise. * elf/sprof.c: Likewise. * iconv/iconv_prog.c: Likewise. * iconv/iconvconfig.c: Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * login/programs/pt_chown.c: Likewise. * malloc/memusage.sh: Likewise. * malloc/memusagestat.c: Likewise. * malloc/mtrace.pl: Likewise. * nscd/nscd.c: Likewise. * nss/getent.c: Likewise. * nss/makedb.c: Likewise. * posix/getconf.c: Likewise.
2012-11-13Add support for sparc cryptographic hash opcodes.David S. Miller
* crypt/Makefile: Move test targets after toplevel Rules inclusion. Grab any necessary sysdep routines when linking. * crypt/md5.c (md5_process_block): Remove define, we will always name it __md5_process_block. (md5_finish_ctx): Update md5_process_block call. (md5_stream): Likewise. (md5_process_bytes): Likewise. (md5_process_block): Rename to __md5_process_block and move to ... * crypt/md5-block.c: ... here. * crypt/sha256.c (sha256_process_block): Move to ... * crypt/sha256-block.c: ... here. * crypt/sha512.c (sha512_process_block): Move to ... * crypt/sha512-block.c: ... here. * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include path. * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define. * sysdeps/sparc/sparc64/multiarch/Makefile (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in crypt subdir. (localedef-aux): Add md5 crypto assembler when in locale subdir. * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64 multiarch changes. * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file. * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file. * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file. * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file. * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file. * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2012-11-09Support --with-pkgversion and --with-bugurl.Joseph Myers
2012-07-10Get rid of ASM_GLOBAL_DIRECTIVE.Marek Polacek