]> granicus.if.org Git - strace/commitdiff
hppa: fix stat64 and fstat64 decoding
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 3 May 2013 22:10:41 +0000 (22:10 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 3 May 2013 23:47:17 +0000 (23:47 +0000)
* file.c [HPPA]: Do not redefine stat64 to hpux_stat64.

file.c

diff --git a/file.c b/file.c
index 946446735c33ee312e5ea84244d2d4a58ea6d90f..e5fc259dc711b7fc1a569befe4d31d96d23b7a2e 100644 (file)
--- a/file.c
+++ b/file.c
@@ -171,9 +171,6 @@ struct __old_kernel_stat {
 # define loff_t loff_t
 #endif
 
-#ifdef HPPA    /* asm-parisc/stat.h defines stat64 */
-# undef stat64
-#endif
 #define stat libc_stat
 #define stat64 libc_stat64
 #include <sys/stat.h>
@@ -183,9 +180,6 @@ struct __old_kernel_stat {
 #undef st_atime
 #undef st_mtime
 #undef st_ctime
-#ifdef HPPA
-# define stat64 hpux_stat64
-#endif
 
 #include <fcntl.h>
 #ifdef HAVE_SYS_VFS_H