aboutsummaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-09 18:33:58 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-09 18:33:58 +0000
commit0a12bf88f1d0ff18f17ae94ade5dfce071bae0e0 (patch)
tree9ce5f646e01bd6cfd16ecd741a86e98ea268deb7 /locale
parent6c342d0b0b3e8766add65dff57416a67fe771673 (diff)
downloadglibc-0a12bf88f1d0ff18f17ae94ade5dfce071bae0e0.zip
glibc-0a12bf88f1d0ff18f17ae94ade5dfce071bae0e0.tar.gz
glibc-0a12bf88f1d0ff18f17ae94ade5dfce071bae0e0.tar.bz2
Update.
2000-12-09 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/mips/sigaction.c: New file. * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the generic version. Patches by Hiroyuki Machida <machida@sm.sony.co.jp>. * locale/programs/ld-collate.c (handle_ellipsis): Fix format string. * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix format string. * nscd/hstcache.c (addhstbyname): Add cast to avoid warning. * nscd/connections.c (handle_request): Likewise. * nscd/pwdcache.c (addpwbyname): Likewise. * nscd/grpcache.c (addgrbyname): Likewise. * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
Diffstat (limited to 'locale')
-rw-r--r--locale/programs/ld-collate.c2
-rw-r--r--locale/programs/ld-ctype.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index d417c66..9d53702 100644
--- a/locale/programs/ld-collate.c
+++ b/locale/programs/ld-collate.c
@@ -1302,7 +1302,7 @@ order for `%.*s' already defined at %s:%Zu"),
int cnt;
/* Generate the the name. */
- sprintf (buf + preflen, base == 10 ? "%d" : "%x", from);
+ sprintf (buf + preflen, base == 10 ? "%ld" : "%lx", from);
/* Look whether this name is already defined. */
if (find_entry (&collate->seq_table, buf, symlen,
diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
index f624769..704ccfc 100644
--- a/locale/programs/ld-ctype.c
+++ b/locale/programs/ld-ctype.c
@@ -107,7 +107,7 @@ struct translit_ignore_t
/* Type to describe a transliteration include statement. */
-struct translit_include_t
+struct translit_include_t
{
const char *copy_locale;
const char *copy_repertoire;
@@ -1482,8 +1482,8 @@ charclass_symbolic_ellipsis (struct linereader *ldfile,
struct charseq *seq;
uint32_t wch;
- sprintf (tmp, (base == 10 ? "%.*s%0*d" : "%.*s%0*X"), cp - last_str,
- last_str, now->val.str.lenmb - (cp - last_str), from);
+ sprintf (tmp, (base == 10 ? "%.*s%0*ld" : "%.*s%0*lX"), cp - last_str,
+ last_str, (int) (now->val.str.lenmb - (cp - last_str)), from);
get_character (now, charmap, repertoire, &seq, &wch);