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
programs Fix build warning in locarchive.c 2013-11-20 18:19:57 +05:30
broken_cur_max.c
C_name.c
C-address.c Fix country_num element in LC_ADDRESS for C locale 2013-11-14 16:02:59 +01:00
C-collate.c
C-ctype.c
C-identification.c
C-measurement.c
C-messages.c
C-monetary.c Complete display of LC_MONETARY 2013-11-19 11:53:00 +01:00
C-name.c
C-numeric.c
C-paper.c
C-telephone.c
C-time.c
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
categories.def Complete display of LC_MONETARY 2013-11-19 11:53:00 +01:00
coll-lookup.c
coll-lookup.h
duplocale.c
elem-hash.h
findlocale.c
freelocale.c
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
hashval.h Make locale archive hash function architecture-independent. 2013-09-23 23:03:34 +00:00
indigits.h
indigitswc.h
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
lc-address.c
lc-collate.c
lc-ctype.c
lc-identification.c
lc-measurement.c
lc-messages.c
lc-monetary.c
lc-name.c
lc-numeric.c
lc-paper.c
lc-telephone.c
lc-time.c
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
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
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
newlocale.c
nl_langinfo_l.c
nl_langinfo.c
outdigits.h
outdigitswc.h
setlocale.c Fix typo in setlocale.c. Fixes BZ #15764 2013-10-12 14:32:09 +02:00
strlen-hash.h
SYS_libc.c
tst-C-locale.c
tst-duplocale.c
tst-locname.c
uselocale.c
Versions
weight.h Remove locale file dependence on int32_t alignment. 2013-10-03 21:51:32 +00:00
weightwc.h
xlocale.c
xlocale.h