From 417bafec1e0be945a745cb5f1ba95ac30524af21 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 1 Sep 2000 06:39:10 +0000 Subject: Update. * stdlib/Makefile (headers): Add bits/wchar.h. * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file. * sysdeps/generic/bits/wchar.h: New file. * sysdeps/generic/stdint.h: Include . Use values in this file to define WCHAR_MIN and WCHAR_MAX. Change UINT*8_MAX and UIN*16_MAX value to type int. * wcsmbs/wchar.h: Include . Use values in this file to define WCHAR_MIN and WCHAR_MAX. * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN int values. * sysdeps/arm/fpu/bits/mathdef.h: Likewise. * sysdeps/generic/bits/mathdef.h: Likewise. * sysdeps/i386/fpu/bits/mathdef.h: Likewise. * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise. * sysdeps/sparc/fpu/bits/mathdef.h: Likewise. * locale/locale.h (struct lconv): Add __ prefix to the new members if not C99. * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and imaxdiv optimizations. * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work. * sysdeps/wordsize-64/ldiv.c: Likewise. * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to const fenv_t*. * sysdeps/generic/bits/fenv.h: Likewise. * sysdeps/i386/fpu/bits/fenv.h: Likewise. * sysdeps/ia64/bits/fenv.h: Likewise. * sysdeps/m68k/fpu/bits/fenv.h: Likewise. * sysdeps/mips/bits/fenv.h: Likewise. * sysdeps/s390/fpu/bits/fenv.h: Likewise. * sysdeps/sparc/fpu/bits/fenv.h: Likewise. Reported by Joseph S. Myers . * catgets/open_catalog.c: Likewise. --- catgets/open_catalog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'catgets') diff --git a/catgets/open_catalog.c b/catgets/open_catalog.c index d778255dc7..8e01767a21 100644 --- a/catgets/open_catalog.c +++ b/catgets/open_catalog.c @@ -39,7 +39,7 @@ void __open_catalog (__nl_catd catalog) { int fd = -1; - struct stat st; + struct stat64 st; int swapping; size_t cnt; size_t max_offset; @@ -199,7 +199,7 @@ __open_catalog (__nl_catd catalog) goto unlock_return; } - if (__builtin_expect (__fxstat (_STAT_VER, fd, &st), 0) < 0) + if (__builtin_expect (__fxstat64 (_STAT_VER, fd, &st), 0) < 0) { catalog->status = nonexisting; goto close_unlock_return; -- cgit v1.2.3-65-gdbad