From bdd5fccdeed418f2f79e25aa04a0b06171300c49 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 3 Mar 2000 21:07:41 +0000 Subject: Update. 2000-03-03 Ulrich Drepper * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality call. --- ChangeLog | 5 +++ localedata/ChangeLog | 1 + localedata/locales/kw_GB | 98 ++++++++++++++++++++++++++++++++++++++++++++++++ posix/regex.c | 8 ++++ sunrpc/xdr.c | 2 +- sunrpc/xdr_intXX_t.c | 14 ++++--- 6 files changed, 121 insertions(+), 7 deletions(-) create mode 100644 localedata/locales/kw_GB diff --git a/ChangeLog b/ChangeLog index b7cf76d..8e40b25 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-03-03 Ulrich Drepper + + * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality + call. + 2000-03-02 Andreas Jaeger * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 39a35a6..5075d90 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,6 +1,7 @@ 2000-03-01 Andreas Jaeger * locales/gv_GB: New file. + * locales/kw_GB: New file. From Pablo Saratxaga . 2000-03-03 Ulrich Drepper diff --git a/localedata/locales/kw_GB b/localedata/locales/kw_GB new file mode 100644 index 0000000..9a7a3d0 --- /dev/null +++ b/localedata/locales/kw_GB @@ -0,0 +1,98 @@ +escape_char / +comment_char % +repertoiremap mnemonic.ds + +% Cornish language locale for Britain +% WARNING: UNOFFICIAL; EXPERIMENTAL. CHECK WITH Keld Simonsen +% to see if there is an offical release. + +% Cornish language locale for Britain +% Source: Alastair McKinstry +% Address: Croí Lár, Ballinahalla, Maigh Cuilinn, +% Co. Gaillimh, Ireland +% Contact: Alastair McKinstry +% Email: mckinstry@computer.org +% Tel: +353 91 556177 +% Language: kl +% Territory: GB +% Revision: 1.0 +% Date: 1999-08-09 +% Users: general +% Repertoiremap: mnemonic,ds +% Charset: ISO-8859-1 +% Distribution and use is free, also +% for commercial purposes. + +LC_CTYPE +copy "en_DK" +END LC_CTYPE + +LC_COLLATE +copy "en_DK" +END LC_COLLATE + +LC_MONETARY +int_curr_symbol "

" +currency_symbol "" +mon_decimal_point "<.>" +mon_thousands_sep "<,>" +mon_grouping 3;3 +positive_sign "" +negative_sign "<->" +int_frac_digits 2 +frac_digits 2 +p_cs_precedes 1 +p_sep_by_space 0 +n_cs_precedes 1 +n_sep_by_space 0 +p_sign_posn 1 +n_sign_posn 1 +END LC_MONETARY + +LC_NUMERIC +decimal_point "<.>" +thousands_sep "<,>" +grouping 3;3 +END LC_NUMERIC + +LC_TIME +abday "";"";/ + "";"";/ + "";"";/ + "" +day "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +abmon "";">";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"" +mon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +d_t_fmt "<%><%><%><%><%><%>" +d_fmt "<%><%><%>" +t_fmt "<%>" +am_pm "";"" +t_fmt_ampm "" +END LC_TIME + +LC_MESSAGES +yesexpr "<<(><)/>><.><*>" +noexpr "<<(><)/>><.><*>" +END LC_MESSAGES diff --git a/posix/regex.c b/posix/regex.c index 507ac86..4c66337 100644 --- a/posix/regex.c +++ b/posix/regex.c @@ -170,6 +170,14 @@ char *realloc (); # endif #endif /* not emacs */ + +#if defined _LIBC || HAVE_LIMITS_H +# include +#endif + +#ifndef MB_LEN_MAX +# define MB_LEN_MAX 1 +#endif /* Get the interface, including the syntax bits. */ #include diff --git a/sunrpc/xdr.c b/sunrpc/xdr.c index 6f1aed7..0cb5f25 100644 --- a/sunrpc/xdr.c +++ b/sunrpc/xdr.c @@ -200,7 +200,7 @@ bool_t xdr_hyper (XDR *xdrs, quad_t *llp) { long t1; - long t2; + unsigned long int t2; if (xdrs->x_op == XDR_ENCODE) { diff --git a/sunrpc/xdr_intXX_t.c b/sunrpc/xdr_intXX_t.c index e50859e..caf9309 100644 --- a/sunrpc/xdr_intXX_t.c +++ b/sunrpc/xdr_intXX_t.c @@ -1,4 +1,4 @@ -/* Copyright (c) 1998, 1999 Free Software Foundation, Inc. +/* Copyright (c) 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Thorsten Kukuk , 1998. @@ -25,7 +25,9 @@ bool_t xdr_int64_t (XDR *xdrs, int64_t *ip) { int32_t t1; - int32_t t2; + /* This must be unsigned, otherwise we get problems with sign + extension in the DECODE case. */ + uint32_t t2; switch (xdrs->x_op) { @@ -139,11 +141,11 @@ xdr_uint16_t (XDR *xdrs, uint16_t *uip) switch (xdrs->x_op) { - case XDR_DECODE: - ut = (uint32_t) *uip; - return XDR_GETINT32 (xdrs, (int32_t *) &ut); case XDR_ENCODE: - if (!XDR_PUTINT32 (xdrs, (int32_t *) &ut)) + ut = (uint32_t) *uip; + return XDR_PUTINT32 (xdrs, (int32_t *) &ut); + case XDR_DECODE: + if (!XDR_GETINT32 (xdrs, (int32_t *) &ut)) return FALSE; *uip = (uint16_t) ut; return TRUE; -- cgit v1.1