mirror of git://sourceware.org/git/glibc.git
Update.
* elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf string. Include <inttypes.h> instead of <stdint.h>.
This commit is contained in:
parent
403cb8a19c
commit
681627531b
|
@ -1,5 +1,8 @@
|
||||||
2001-02-05 Ulrich Drepper <drepper@redhat.com>
|
2001-02-05 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
|
||||||
|
string. Include <inttypes.h> instead of <stdint.h>.
|
||||||
|
|
||||||
* localedata/Makefile (tests): Add bug-iconv-trans.
|
* localedata/Makefile (tests): Add bug-iconv-trans.
|
||||||
Define bug-iconv-trans-ENV.
|
Define bug-iconv-trans-ENV.
|
||||||
* localedata/bug-iconv-trans.c: New file.
|
* localedata/bug-iconv-trans.c: New file.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
|
/* Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Andreas Jaeger <aj@suse.de>, 1999.
|
Contributed by Andreas Jaeger <aj@suse.de>, 1999.
|
||||||
|
|
||||||
|
@ -20,12 +20,12 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <error.h>
|
#include <error.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
#include <inttypes.h>
|
||||||
#include <libintl.h>
|
#include <libintl.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdint.h>
|
|
||||||
#include <sys/fcntl.h>
|
#include <sys/fcntl.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
@ -84,7 +84,7 @@ print_entry (const char *lib, int flag, uint64_t hwcap, const char *key)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (hwcap != 0)
|
if (hwcap != 0)
|
||||||
printf (", hwcap: 0x%Lx", hwcap);
|
printf (", hwcap: 0x%" PRIx64, hwcap);
|
||||||
printf (") => %s\n", key);
|
printf (") => %s\n", key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue