glibc/locale
Aurelien Jarno 18d1425127 locale: don't crash if locale-archive contains all zeros
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-12-03 11:16:16 +01:00
..
bits Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
programs Fix build warning in locarchive.c 2013-11-20 18:19:57 +05:30
broken_cur_max.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
C_name.c Update. 2001-04-06 17:49:18 +00:00
C-address.c Fix country_num element in LC_ADDRESS for C locale 2013-11-14 16:02:59 +01:00
C-collate.c Add #include <stdint.h> for uint[32|64]_t usage (except installed headers). 2013-05-16 11:32:54 -05:00
C-ctype.c Add #include <stdint.h> for uint[32|64]_t usage (except installed headers). 2013-05-16 11:32:54 -05:00
C-identification.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
C-measurement.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
C-messages.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
C-monetary.c Complete display of LC_MONETARY 2013-11-19 11:53:00 +01:00
C-name.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
C-numeric.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
C-paper.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
C-telephone.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
C-time.c Add #include <stdint.h> for uint[32|64]_t usage (except installed headers). 2013-05-16 11:32:54 -05:00
C-translit.h Add #include <stdint.h> to locale/gen-translit.pl and fix C-translit.h. 2013-06-05 12:01:50 -05:00
C-translit.h.in Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
categories.def Complete display of LC_MONETARY 2013-11-19 11:53:00 +01:00
coll-lookup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
coll-lookup.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
duplocale.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
elem-hash.h Fix some build warnings 2013-02-26 10:40:19 +05:30
findlocale.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
freelocale.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
gen-translit.pl Add #include <stdint.h> to locale/gen-translit.pl and fix C-translit.h. 2013-06-05 12:01:50 -05:00
global-locale.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
hashval.h Make locale archive hash function architecture-independent. 2013-09-23 23:03:34 +00:00
indigits.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
indigitswc.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
iso-639.def Rename Oriya locale to Odia (bug 15601) 2013-11-20 17:47:41 +05:30
iso-3166.def Fix typos in 3166.def. 2013-10-04 18:51:42 -04:00
iso-4217.def Update iso-1427.def and related occurrences. 2013-09-04 11:42:53 -04:00
langinfo.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
lc-address.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
lc-collate.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
lc-ctype.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
lc-identification.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
lc-measurement.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
lc-messages.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
lc-monetary.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
lc-name.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
lc-numeric.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
lc-paper.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
lc-telephone.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
lc-time.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
loadarchive.c locale: don't crash if locale-archive contains all zeros 2013-12-03 11:16:16 +01:00
loadlocale.c Clean up locale file alignment handling. 2013-10-08 00:14:08 +00:00
locale.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
localeconv.c Properly handle unavailable elements in LC_MONETARY category 2013-11-18 12:50:09 +01:00
localeinfo.h Remove locale file dependence on int32_t alignment. 2013-10-03 21:51:32 +00:00
localename.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
locarchive.h Enhance localedef --list-archive option. 2013-10-18 23:44:35 -04:00
Makefile Link extra-libs consistently with libc and ld.so. 2013-05-31 16:16:33 +00:00
mb_cur_max.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
newlocale.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
nl_langinfo_l.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
nl_langinfo.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
outdigits.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
outdigitswc.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
setlocale.c Fix typo in setlocale.c. Fixes BZ #15764 2013-10-12 14:32:09 +02:00
strlen-hash.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
SYS_libc.c [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
tst-C-locale.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tst-duplocale.c Add missing test files. 2009-11-17 16:23:57 -08:00
tst-locname.c Add missing test files. 2009-11-17 16:23:57 -08:00
uselocale.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
Versions * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change. 2003-03-03 09:45:25 +00:00
weight.h Remove locale file dependence on int32_t alignment. 2013-10-03 21:51:32 +00:00
weightwc.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
xlocale.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
xlocale.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00