aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-03 21:07:41 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-03 21:07:41 +0000
commitbdd5fccdeed418f2f79e25aa04a0b06171300c49 (patch)
treebe9d8fe4ea6a1e32f4afd0ac7dc62cb097790a50
parent2f1afc880bee4e2f9ebba5eefb45e51c29eaf7ee (diff)
downloadglibc-bdd5fccdeed418f2f79e25aa04a0b06171300c49.tar
glibc-bdd5fccdeed418f2f79e25aa04a0b06171300c49.tar.gz
glibc-bdd5fccdeed418f2f79e25aa04a0b06171300c49.tar.bz2
glibc-bdd5fccdeed418f2f79e25aa04a0b06171300c49.zip
Update.
2000-03-03 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality call.
-rw-r--r--ChangeLog5
-rw-r--r--localedata/ChangeLog1
-rw-r--r--localedata/locales/kw_GB98
-rw-r--r--posix/regex.c8
-rw-r--r--sunrpc/xdr.c2
-rw-r--r--sunrpc/xdr_intXX_t.c14
6 files changed, 121 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index b7cf76d418..8e40b2515f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-03-03 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
+ call.
+
2000-03-02 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index 39a35a697f..5075d90404 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,6 +1,7 @@
2000-03-01 Andreas Jaeger <aj@suse.de>
* locales/gv_GB: New file.
+ * locales/kw_GB: New file.
From Pablo Saratxaga <pablo@mandrakesoft.com>.
2000-03-03 Ulrich Drepper <drepper@redhat.com>
diff --git a/localedata/locales/kw_GB b/localedata/locales/kw_GB
new file mode 100644
index 0000000000..9a7a3d02de
--- /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 "<G><B><P><SP>"
+currency_symbol "<Pd>"
+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 "<S><u><l>";"<L><u><n>";/
+ "<M><t><h>";"<M><h><r>";/
+ "<Y><o><w>";"<G><w><e>";/
+ "<S><a><d>"
+day "<D><e><SP><S><u><l>";/
+ "<D><e><SP><L><u><n>";/
+ "<D><e><SP><M><e><r><t><h>";/
+ "<D><e><SP><M><e><r><h><e><r>";/
+ "<D><e><SP><Y><o><w>";/
+ "<D><e><SP><G><w><e><n><e><r>";/
+ "<D><e><SP><S><a><d><o><r><n>"
+abmon "<G><e><n>";"<W><h><e>>";/
+ "<M><e><r>";"<E><b><r>";/
+ "<M><e>";"<E><v><n>";/
+ "<G><o><r>";"<E><s><t>";/
+ "<G><w><n>";"<H><e><d>";/
+ "<D><u>";"<K><e><v>"
+mon "<M><y><s><SP><G><e><n><v><e><r>";/
+ "<M><y><s><SP><W><h><e><v><r><e><l>";/
+ "<M><y><s><SP><M><e><r><t><h>";/
+ "<M><y><s><SP><E><b><r><e><l>";/
+ "<M><y><s><SP><M><e>";/
+ "<M><y><s><SP><E><v><a><n>";/
+ "<M><y><s><SP><G><o><r><t><h><e><r><e><n>";/
+ "<M><y><e><SP><E><s><t>";/
+ "<M><y><s><SP><G><w><y><n><g><a><l><a>";/
+ "<M><y><s><SP><H><e><d><r><a>";/
+ "<M><y><s><SP><D><u>";/
+ "<M><y><s><SP><K><e><v><a><r><d><h><u>"
+d_t_fmt "<%><a><SP><%><d><SP><%><b><SP><%><Y><SP><%><T><SP><%><Z>"
+d_fmt "<%><d><//><%><m><//><%><y>"
+t_fmt "<%><T>"
+am_pm "";""
+t_fmt_ampm ""
+END LC_TIME
+
+LC_MESSAGES
+yesexpr "<<(><e><E><)/>><.><*>"
+noexpr "<<(><n><N><)/>><.><*>"
+END LC_MESSAGES
diff --git a/posix/regex.c b/posix/regex.c
index 507ac86545..4c66337a24 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 <limits.h>
+#endif
+
+#ifndef MB_LEN_MAX
+# define MB_LEN_MAX 1
+#endif
/* Get the interface, including the syntax bits. */
#include <regex.h>
diff --git a/sunrpc/xdr.c b/sunrpc/xdr.c
index 6f1aed742f..0cb5f25332 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 e50859e2aa..caf9309935 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 <kukuk@vt.uni-paderborn.de>, 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;