aboutsummaryrefslogtreecommitdiff
path: root/io/sys
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-01 05:19:18 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-01 05:19:18 +0000
commit5e087c7152841153da9c696df8596684e359c755 (patch)
treecae5f5ecce14411ed79627adffc0661b94fa1e4a /io/sys
parentb856f875e8b72c48ef9b983b702f614615fc80b3 (diff)
downloadglibc-5e087c7152841153da9c696df8596684e359c755.zip
glibc-5e087c7152841153da9c696df8596684e359c755.tar.gz
glibc-5e087c7152841153da9c696df8596684e359c755.tar.bz2
Update.
* assert/Depend: Add localedata. * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C. (test-assert-perr-ENV): New. Define LANGUAGE=C. * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type == R_ALPHA_REFQUAD]: Use memcpy to load and store value from relocation address to prevent unaligned trap. Suggested by Richard Henderson <rth@cygnus.com>. 2000-06-30 Jakub Jelinek <jakub@redhat.com> * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines if redirecting and either redirection is done using defines or not optimizing. 2000-06-30 Ulrich Drepper <drepper@redhat.com>
Diffstat (limited to 'io/sys')
-rw-r--r--io/sys/stat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h
index d8d8620..7a8c8b3 100644
--- a/io/sys/stat.h
+++ b/io/sys/stat.h
@@ -360,7 +360,9 @@ extern __inline__ int mknod (__const char *__path, __mode_t __mode,
}
# endif
-# ifdef __USE_LARGEFILE64
+# if defined __USE_LARGEFILE64 \
+ && (! defined __USE_FILE_OFFSET64 \
+ || (defined __REDIRECT && defined __OPTIMIZE__))
extern __inline__ int stat64 (__const char *__path,
struct stat64 *__statbuf) __THROW
{