From 11b3488225fff62fe08631c3d2a2d2ec6c48d90c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 5 Jul 2000 22:34:10 +0000 Subject: Update. * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt string got copied in. Patch by Solar Designer . 2000-07-05 Andreas Jaeger * manual/install.texi (Installation): Update information about add-ons. (Configuring and compiling): Update for glibc 2.2. 2000-07-04 Andreas Jaeger * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value. (_FPU_IEEE): Likewise. * math/Makefile (tests): Add test-fpucw. * math/test-fpucw.c (main): New file. 2000-07-05 Ulrich Drepper --- ChangeLog | 21 +++ crypt/md5-crypt.c | 16 +- localedata/ChangeLog | 38 ++++ localedata/locales/cs_CZ | 2 +- localedata/locales/el_GR | 2 +- localedata/locales/en_GB | 1 + localedata/locales/es_AR | 2 +- localedata/locales/es_BO | 2 +- localedata/locales/es_CL | 2 +- localedata/locales/es_CO | 2 +- localedata/locales/es_DO | 2 +- localedata/locales/es_EC | 2 +- localedata/locales/es_ES | 2 +- localedata/locales/es_GT | 2 +- localedata/locales/es_HN | 2 +- localedata/locales/es_MX | 2 +- localedata/locales/es_PA | 2 +- localedata/locales/es_PE | 2 +- localedata/locales/es_PY | 2 +- localedata/locales/es_SV | 2 +- localedata/locales/es_US | 2 +- localedata/locales/es_UY | 2 +- localedata/locales/es_VE | 2 +- localedata/locales/fr_CA | 2 +- localedata/locales/hu_HU | 2 +- localedata/locales/no_NO | 9 +- localedata/locales/pt_PT | 9 +- localedata/locales/ro_RO | 2 +- localedata/locales/ru_RU | 2 +- localedata/locales/sv_SE | 8 +- localedata/locales/th_TH | 452 ++++++++++++++++++++++----------------------- localedata/locales/tr_TR | 2 +- manual/install.texi | 10 +- math/Makefile | 2 +- math/test-fpucw.c | 40 ++++ sysdeps/i386/fpu_control.h | 8 +- 36 files changed, 386 insertions(+), 276 deletions(-) create mode 100644 math/test-fpucw.c diff --git a/ChangeLog b/ChangeLog index 32d4633a34..c844d9b19f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,24 @@ +2000-07-05 Ulrich Drepper + + * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt + string got copied in. + Patch by Solar Designer . + +2000-07-05 Andreas Jaeger + + * manual/install.texi (Installation): Update information about + add-ons. + (Configuring and compiling): Update for glibc 2.2. + +2000-07-04 Andreas Jaeger + + * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value. + (_FPU_IEEE): Likewise. + + * math/Makefile (tests): Add test-fpucw. + + * math/test-fpucw.c (main): New file. + 2000-07-05 Ulrich Drepper * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning. diff --git a/crypt/md5-crypt.c b/crypt/md5-crypt.c index 3b20ed157d..6340502193 100644 --- a/crypt/md5-crypt.c +++ b/crypt/md5-crypt.c @@ -60,6 +60,8 @@ __md5_crypt_r (key, salt, buffer, buflen) size_t key_len; size_t cnt; char *cp; + int key_copied = 0; + int salt_copied = 0; /* Find beginning of salt string. The prefix should normally always be present. Just in case it is not. */ @@ -77,6 +79,7 @@ __md5_crypt_r (key, salt, buffer, buflen) - (tmp - (char *) 0) % __alignof__ (md5_uint32), key, key_len); assert ((key - (char *) 0) % __alignof__ (md5_uint32) == 0); + key_copied = 1; } if ((salt - (char *) 0) % __alignof__ (md5_uint32) != 0) @@ -86,6 +89,7 @@ __md5_crypt_r (key, salt, buffer, buflen) - (tmp - (char *) 0) % __alignof__ (md5_uint32), salt, salt_len); assert ((salt - (char *) 0) % __alignof__ (md5_uint32) == 0); + salt_copied = 1; } /* Prepare for the real work. */ @@ -215,8 +219,16 @@ __md5_crypt_r (key, salt, buffer, buflen) /* Clear the buffer for the intermediate result so that people attaching to processes or reading core dumps cannot get any - information. */ - memset (alt_result, '\0', sizeof (alt_result)); + information. We do it in this way to clear correct_words[] + inside the MD5 implementation as well. */ + __md5_init_ctx (&ctx); + __md5_finish_ctx (&ctx, alt_result); + memset (&ctx, '\0', sizeof (ctx)); + memset (&alt_ctx, '\0', sizeof (alt_ctx)); + if (key_copied) + memset (key, '\0', key_len); + if (salt_copied) + memset (salt, '\0', salt_len); return buffer; } diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 0ce505a819..a6bafc9a35 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,41 @@ +2000-07-05 NIIBE Yutaka + + * locales/th_TH: Update revision information. + (LC_CTYPE: alpha): Replace ";...;" with "..". + (LC_COLLATE: order): Quote with "". + +2000-07-04 Jakub Jelinek + + * locales/en_GR (LC_IDENTIFICATION): Don't use iso8859-1 characters + in address. + * locales/hu_HU (LC_IDENTIFICATION): Likewise. + * locales/ro_RO (LC_IDENTIFICATION): Likewise. + * locales/ru_RU (LC_IDENTIFICATION): Likewise. + * locales/es_AR (LC_IDENTIFICATION): Fix address of RAP. + * locales/es_BO (LC_IDENTIFICATION): Likewise. + * locales/es_CL (LC_IDENTIFICATION): Likewise. + * locales/es_CO (LC_IDENTIFICATION): Likewise. + * locales/es_DO (LC_IDENTIFICATION): Likewise. + * locales/es_EC (LC_IDENTIFICATION): Likewise. + * locales/es_ES (LC_IDENTIFICATION): Likewise. + * locales/es_GT (LC_IDENTIFICATION): Likewise. + * locales/es_HN (LC_IDENTIFICATION): Likewise. + * locales/es_MX (LC_IDENTIFICATION): Likewise. + * locales/es_PA (LC_IDENTIFICATION): Likewise. + * locales/es_PE (LC_IDENTIFICATION): Likewise. + * locales/es_PY (LC_IDENTIFICATION): Likewise. + * locales/es_SV (LC_IDENTIFICATION): Likewise. + * locales/es_US (LC_IDENTIFICATION): Likewise. + * locales/es_UY (LC_IDENTIFICATION): Likewise. + * locales/es_VE (LC_IDENTIFICATION): Likewise. + * locales/fr_CA (LC_IDENTIFICATION): Likewise. + * locales/tr_TR (LC_IDENTIFICATION): Likewise. + * locales/no_NO (LC_TELEPHONE): Fill in. + * locales/pt_PT (LC_TELEPHONE): Fill in. + * locales/sv_SE (LC_TELEPHONE): Fill in. + * locales/en_GB (LC_TELEPHONE): Fill in. + * locales/cs_CZ (LC_TELEPHONE): Fill in. + 2000-07-04 Ulrich Drepper * tst-fmon.sh (LC_ALL): Define to C for localedef run. diff --git a/localedata/locales/cs_CZ b/localedata/locales/cs_CZ index 05e4ba4f3b..18f3a0facf 100644 --- a/localedata/locales/cs_CZ +++ b/localedata/locales/cs_CZ @@ -2456,7 +2456,7 @@ END LC_PAPER LC_TELEPHONE tel_int_fmt "/ " -tel_dom_fmt "" +tel_dom_fmt "" int_select "" int_prefix "" END LC_TELEPHONE diff --git a/localedata/locales/el_GR b/localedata/locales/el_GR index c2da377d57..2ca321e5ba 100644 --- a/localedata/locales/el_GR +++ b/localedata/locales/el_GR @@ -22,7 +22,7 @@ escape_char / LC_IDENTIFICATION title "Greek locale for Greece" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jorgens Alle 8, DK-1615 Kobenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/en_GB b/localedata/locales/en_GB index 39a4b0f65d..40893457cc 100644 --- a/localedata/locales/en_GB +++ b/localedata/locales/en_GB @@ -130,6 +130,7 @@ LC_TELEPHONE tel_int_fmt "/ " tel_dom_fmt "" +int_select "" int_prefix "" END LC_TELEPHONE diff --git a/localedata/locales/es_AR b/localedata/locales/es_AR index 455bde807d..4dcfd8b9fa 100644 --- a/localedata/locales/es_AR +++ b/localedata/locales/es_AR @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Argentina" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_BO b/localedata/locales/es_BO index 228b643d34..e08a73f617 100644 --- a/localedata/locales/es_BO +++ b/localedata/locales/es_BO @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Bolivia" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_CL b/localedata/locales/es_CL index 2aefc1418b..f0d795ef2b 100644 --- a/localedata/locales/es_CL +++ b/localedata/locales/es_CL @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Chile" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_CO b/localedata/locales/es_CO index 79a09d2b31..a6e91be43d 100644 --- a/localedata/locales/es_CO +++ b/localedata/locales/es_CO @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Colombia" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_DO b/localedata/locales/es_DO index 85ea6a53d9..4fda017766 100644 --- a/localedata/locales/es_DO +++ b/localedata/locales/es_DO @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Dominican Republic" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_EC b/localedata/locales/es_EC index ae06a9b9e3..16fba0dc28 100644 --- a/localedata/locales/es_EC +++ b/localedata/locales/es_EC @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Equador" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_ES b/localedata/locales/es_ES index 70241b2f1b..ea3b162c89 100644 --- a/localedata/locales/es_ES +++ b/localedata/locales/es_ES @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Spain" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_GT b/localedata/locales/es_GT index 45a0f75dce..320d2237a2 100644 --- a/localedata/locales/es_GT +++ b/localedata/locales/es_GT @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Guatemala" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_HN b/localedata/locales/es_HN index 9d73b35fbe..4731f55974 100644 --- a/localedata/locales/es_HN +++ b/localedata/locales/es_HN @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Honduras" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_MX b/localedata/locales/es_MX index 9830cecfff..18a6265ac9 100644 --- a/localedata/locales/es_MX +++ b/localedata/locales/es_MX @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Mexico" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_PA b/localedata/locales/es_PA index cc3d6d0958..19236d2e71 100644 --- a/localedata/locales/es_PA +++ b/localedata/locales/es_PA @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Panama" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_PE b/localedata/locales/es_PE index cf8face90e..d57ed36d6d 100644 --- a/localedata/locales/es_PE +++ b/localedata/locales/es_PE @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Peru" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_PY b/localedata/locales/es_PY index de21e2e3e0..1af0e73238 100644 --- a/localedata/locales/es_PY +++ b/localedata/locales/es_PY @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Paraguay" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_SV b/localedata/locales/es_SV index eff14d3254..bce7039d4f 100644 --- a/localedata/locales/es_SV +++ b/localedata/locales/es_SV @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for El Salvador" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_US b/localedata/locales/es_US index 990572b3df..f3bc70b076 100644 --- a/localedata/locales/es_US +++ b/localedata/locales/es_US @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for the USA" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_UY b/localedata/locales/es_UY index 1e2650d0ae..40cb536aa7 100644 --- a/localedata/locales/es_UY +++ b/localedata/locales/es_UY @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Uruguay" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_VE b/localedata/locales/es_VE index 108aa3bae4..a9bc4dace9 100644 --- a/localedata/locales/es_VE +++ b/localedata/locales/es_VE @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Venezuela" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/fr_CA b/localedata/locales/fr_CA index 4256cd71a0..2641ffc3d0 100644 --- a/localedata/locales/fr_CA +++ b/localedata/locales/fr_CA @@ -22,7 +22,7 @@ escape_char / LC_IDENTIFICATION title "French locale for Canada" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/hu_HU b/localedata/locales/hu_HU index d5d8c8f7fe..29ed60464c 100644 --- a/localedata/locales/hu_HU +++ b/localedata/locales/hu_HU @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Hungarian locale for Hungary" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jorgens Alle 8, DK-1615 Kobenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/no_NO b/localedata/locales/no_NO index baf6198ea0..a38c83898a 100644 --- a/localedata/locales/no_NO +++ b/localedata/locales/no_NO @@ -2193,19 +2193,18 @@ noexpr "" END LC_MESSAGES LC_PAPER -% FIXME height 297 -% FIXME width 210 END LC_PAPER LC_TELEPHONE -tel_int_fmt "/ -" +tel_int_fmt "" +tel_dom_fmt "" +int_select "" +int_prefix "" END LC_TELEPHONE LC_MEASUREMENT -% FIXME measurement 1 END LC_MEASUREMENT diff --git a/localedata/locales/pt_PT b/localedata/locales/pt_PT index 48940af968..fbb85e60b9 100644 --- a/localedata/locales/pt_PT +++ b/localedata/locales/pt_PT @@ -121,19 +121,18 @@ t_fmt_ampm "" END LC_TIME LC_PAPER -% FIXME height 297 -% FIXME width 210 END LC_PAPER LC_TELEPHONE -tel_int_fmt "/ -" +tel_int_fmt "" +tel_dom_fmt "" +int_select "" +int_prefix "" END LC_TELEPHONE LC_MEASUREMENT -% FIXME measurement 1 END LC_MEASUREMENT diff --git a/localedata/locales/ro_RO b/localedata/locales/ro_RO index 8b8dd169d7..bb5bc4943c 100644 --- a/localedata/locales/ro_RO +++ b/localedata/locales/ro_RO @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Romanian locale for Romania" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jorgens Alle 8, DK-1615 Kobenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/ru_RU b/localedata/locales/ru_RU index 75eaa7b4d8..fec6585a8a 100644 --- a/localedata/locales/ru_RU +++ b/localedata/locales/ru_RU @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Russian locale for Russia" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jorgens Alle 8, DK-1615 Kobenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/sv_SE b/localedata/locales/sv_SE index 4291650e35..7ed9fa01b4 100644 --- a/localedata/locales/sv_SE +++ b/localedata/locales/sv_SE @@ -2192,19 +2192,19 @@ noexpr "" END LC_MESSAGES LC_PAPER -% FIXME height 297 -% FIXME width 210 END LC_PAPER LC_TELEPHONE -tel_int_fmt "/ +tel_int_fmt "/ " +tel_dom_fmt "" +int_select "" +int_prefix "" END LC_TELEPHONE LC_MEASUREMENT -% FIXME measurement 1 END LC_MEASUREMENT diff --git a/localedata/locales/th_TH b/localedata/locales/th_TH index 41ed0d14fc..1147838c5c 100644 --- a/localedata/locales/th_TH +++ b/localedata/locales/th_TH @@ -16,9 +16,9 @@ comment_char % % E-mail: thep@links.nectec.or.th % Language: Thai % Territory: Thailand -% Charset: TIS-620:1990 -% Revision: 0.5.2 -% Date: 1995-04-02 +% Charset: TIS-620.2533:1990 +% Revision: 0.5.3 +% Date: 1999-05-28 % % @@ -88,8 +88,8 @@ alpha ;;;;;;;;; ;;;;;;;;;;;;;/ ;;;;;;;;;;;;;/ ;;;;;;;;;;;;;/ - ;...;;;...;;;...;;/ - ;;;...;; + ..;..;..;/ + ;;..; % % digit = Arabic digits + Thai digits @@ -97,7 +97,7 @@ alpha ;;;;;;;;; digit ;;;;;/ ;;;; % The Thai digits -% ;...; +% .. % cannot be listed here. In glibc 2.2 they'll be in indigits and % possibly outdigits. @@ -606,316 +606,316 @@ UNDEFINED IGNORE;IGNORE;IGNORE;IGNORE % Thai consonants, with leading vowels rearrangement % ;;; % THAI CHARACTER KO KAI - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER KHO KHAI - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER KHO KHUAT - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER KHO KHWAI - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER KHO KHON - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER KHO RAKHANG - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER NGO NGU - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER CHO CHAN - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER CHO CHING - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER CHO CHANG - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER SO SO - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER CHO CHOE - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER YO YING - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER DO CHADA - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER TO PATAK - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER THO THAN - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER THO NANGMONTHO - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER THO PHUTHAO - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER NO NEN - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER DO DEK - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER TO TAO - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER THO THUNG - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER THO THAHAN - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER THO THONG - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER NO NU - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER BO BAIMAI - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER PO PLA - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER PHO PHUNG - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER FO FA - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER PHO PHAN - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER FO FAN - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER PHO SAMPHAO - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER MO MA - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER YO YAK - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER RO RUA - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER RU ;;; % THAI CHARACTER LO LING - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER LU ;;; % THAI CHARACTER WO WAEN - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER SO SALA - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER SO RUSI - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER SO SUA - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER HO HIP - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER LO CHULA - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER O ANG - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER HO NOKHUK - ;;; - ;;; - ;;; - ;;; - ;;; + "";;; + "";;; + "";;; + "";;; + "";;; ;;; % THAI CHARACTER NIKHAHIT diff --git a/localedata/locales/tr_TR b/localedata/locales/tr_TR index 247c07984f..cae0db0bd6 100644 --- a/localedata/locales/tr_TR +++ b/localedata/locales/tr_TR @@ -28,7 +28,7 @@ escape_char / LC_IDENTIFICATION title "Turkish locale for Turkey" source "RAP" -address "Sankt Jorgens Alle 8, DK-1615 Kbenhavn V, Danmark" +address "Sankt Jrgens Alle 8, DK-1615 Kbenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/manual/install.texi b/manual/install.texi index dbbd2cccb5..9bb4e64dc5 100644 --- a/manual/install.texi +++ b/manual/install.texi @@ -15,9 +15,9 @@ Features can be added to GNU Libc via @dfn{add-on} bundles. These are separate tarfiles which you unpack into the top level of the source tree. Then you give @code{configure} the @samp{--enable-add-ons} option to activate them, and they will be compiled into the library. As of the -2.1 release, two important components of glibc are distributed as -``official'' add-ons. Unless you are doing an unusual installation, you -should get them both. +2.2 release, one important component of glibc is distributed as +``official'' add-ons: the linuxthreads add-on. Unless you are doing an +unusual installation, you should get this. Support for POSIX threads is maintained by someone else, so it's in a separate package. It is only available for Linux systems, but this will @@ -43,7 +43,7 @@ GNU Make, and possibly others. @xref{Tools for Compilation}, below. GNU libc can be compiled in the source directory, but we strongly advise to build it in a separate build directory. For example, if you have unpacked -the glibc sources in @file{/src/gnu/glibc-2.1.0}, create a directory +the glibc sources in @file{/src/gnu/glibc-2.2.0}, create a directory @file{/src/gnu/glibc-build} to put the object files in. This allows removing the whole build directory in case an error occurs, which is the safest way to get a fresh start and should always be done. @@ -52,7 +52,7 @@ From your object directory, run the shell script @file{configure} found at the top level of the source tree. In the scenario above, you'd type @smallexample -$ ../glibc-2.1.0/configure @var{args...} +$ ../glibc-2.2.0/configure @var{args...} @end smallexample Please note that even if you're building in a separate build directory, diff --git a/math/Makefile b/math/Makefile index e545031c67..2c868d0eeb 100644 --- a/math/Makefile +++ b/math/Makefile @@ -79,7 +79,7 @@ include ../Makeconfig # Rules for the test suite. tests = test-matherr test-fenv atest-exp atest-sincos atest-exp2 basic-test \ - test-misc + test-misc test-fpucw # We do the `long double' tests only if this data type is available and # distinct from `double'. test-longdouble-yes = test-ldouble test-ildoubl diff --git a/math/test-fpucw.c b/math/test-fpucw.c new file mode 100644 index 0000000000..7f46bd4873 --- /dev/null +++ b/math/test-fpucw.c @@ -0,0 +1,40 @@ +/* Copyright (C) 2000 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Andreas Jaeger , 2000. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include +#include + +int +main (void) +{ +#ifdef _FPU_GETCW +/* Some architectures don't have _FPU_GETCW (e.g. Linux/Alpha). */ + fpu_control_t cw; + + _FPU_GETCW (cw); + + if (cw != _FPU_DEFAULT) + printf ("control word is 0x%x but should be 0x%x.\n", cw, _FPU_DEFAULT); + + return (cw != _FPU_DEFAULT); + +#else + return 0; +#endif +} diff --git a/sysdeps/i386/fpu_control.h b/sysdeps/i386/fpu_control.h index b957010904..00350b91ac 100644 --- a/sysdeps/i386/fpu_control.h +++ b/sysdeps/i386/fpu_control.h @@ -1,5 +1,5 @@ /* FPU control word bits. i387 version. - Copyright (C) 1993, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1993, 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Olaf Flebbe. @@ -50,7 +50,7 @@ * IC: Infinity control * That is for 8087 and 80287 only. * - * The hardware default is 0x037f. I choose 0x1372. + * The hardware default is 0x037f which we use. */ #include @@ -80,10 +80,10 @@ /* The fdlibm code requires strict IEEE double precision arithmetic, and no interrupts for exceptions, rounding to nearest. */ -#define _FPU_DEFAULT 0x137f +#define _FPU_DEFAULT 0x037f /* IEEE: same as above. */ -#define _FPU_IEEE 0x137f +#define _FPU_IEEE 0x037f /* Type of the control word. */ typedef unsigned int fpu_control_t __attribute__ ((__mode__ (__HI__))); -- cgit v1.2.3