mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 14:40:06 +00:00
Update.
2003-10-23 Jakub Jelinek <jakub@redhat.com> * locale/programs/locale.c (show_info): Fix printing word values on 64-bit big-endian architectures. 2003-10-19 Bruno Haible <bruno@clisp.org> * intl/hash-string.c (hash_string): Zero-extend each char from the string; the old code did a sign-extend on some platforms.
This commit is contained in:
parent
d0f1175e94
commit
4d54786a9b
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
2003-10-23 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* locale/programs/locale.c (show_info): Fix printing word values on
|
||||||
|
64-bit big-endian architectures.
|
||||||
|
|
||||||
|
2003-10-19 Bruno Haible <bruno@clisp.org>
|
||||||
|
|
||||||
|
* intl/hash-string.c (hash_string): Zero-extend each char from the
|
||||||
|
string; the old code did a sign-extend on some platforms.
|
||||||
|
|
||||||
2003-10-22 Steven Munroe <sjmunroe@us.ibm.com>
|
2003-10-22 Steven Munroe <sjmunroe@us.ibm.com>
|
||||||
|
|
||||||
* sysdeps/powerpc/powerpc32/Makefile (+cflags, asm-CPPFLAGS): Don't
|
* sysdeps/powerpc/powerpc32/Makefile (+cflags, asm-CPPFLAGS): Don't
|
||||||
|
@ -893,12 +893,12 @@ show_info (const char *name)
|
|||||||
break;
|
break;
|
||||||
case word:
|
case word:
|
||||||
{
|
{
|
||||||
unsigned int val =
|
union { unsigned int word; char *string; } val;
|
||||||
(unsigned int) (unsigned long int) nl_langinfo (item->item_id);
|
val.string = nl_langinfo (item->item_id);
|
||||||
if (show_keyword_name)
|
if (show_keyword_name)
|
||||||
printf ("%s=", item->name);
|
printf ("%s=", item->name);
|
||||||
|
|
||||||
printf ("%d\n", val);
|
printf ("%d\n", val.word);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case wstring:
|
case wstring:
|
||||||
|
Loading…
Reference in New Issue
Block a user