]> granicus.if.org Git - strace/commitdiff
sparc: drop _STAT64_VER support
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 29 Dec 2014 03:08:53 +0000 (03:08 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 29 Dec 2014 03:08:53 +0000 (03:08 +0000)
Starting with commit v4.6-240-g5afdf12, nobody compiles this
non-Linux code.

* file.c [SPARC || SPARC64] (sys_xstat, sys_fxstat): Remove
_STAT64_VER code.

file.c

diff --git a/file.c b/file.c
index d105352b08811440a674dde106097c2bb477faa7..51c307848da5a320b57a4c46400d9fb56cb228a7 100644 (file)
--- a/file.c
+++ b/file.c
@@ -879,11 +879,6 @@ sys_xstat(struct tcb *tcp)
                printpath(tcp, tcp->u_arg[1]);
                tprints(", ");
        } else {
-# ifdef _STAT64_VER
-               if (tcp->u_arg[0] == _STAT64_VER)
-                       printstat64(tcp, tcp->u_arg[2]);
-               else
-# endif
                printstat(tcp, tcp->u_arg[2]);
        }
        return 0;
@@ -895,11 +890,6 @@ sys_fxstat(struct tcb *tcp)
        if (entering(tcp))
                tprintf("%ld, %ld, ", tcp->u_arg[0], tcp->u_arg[1]);
        else {
-# ifdef _STAT64_VER
-               if (tcp->u_arg[0] == _STAT64_VER)
-                       printstat64(tcp, tcp->u_arg[2]);
-               else
-# endif
                printstat(tcp, tcp->u_arg[2]);
        }
        return 0;