diff options
author | 2011-07-11 18:47:47 -0400 | |
---|---|---|
committer | 2011-07-11 18:47:47 -0400 | |
commit | e66b32b453b2e2257166d842cba6a040f9d3ff4a (patch) | |
tree | 0b3c89240867195ee3a48a62afbc5aedcd44b428 /dev-util/strace/files/strace-4.5.16-sparc-times.patch | |
parent | remove dev-lang/tcl (diff) | |
download | loongson-e66b32b453b2e2257166d842cba6a040f9d3ff4a.tar.gz loongson-e66b32b453b2e2257166d842cba6a040f9d3ff4a.tar.bz2 loongson-e66b32b453b2e2257166d842cba6a040f9d3ff4a.zip |
remove dev-util/strace
Changes are upstream in strace-4.5.20 which is available in portage and
keyworded ~mips.
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'dev-util/strace/files/strace-4.5.16-sparc-times.patch')
-rw-r--r-- | dev-util/strace/files/strace-4.5.16-sparc-times.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/dev-util/strace/files/strace-4.5.16-sparc-times.patch b/dev-util/strace/files/strace-4.5.16-sparc-times.patch deleted file mode 100644 index 9d1ee76..0000000 --- a/dev-util/strace/files/strace-4.5.16-sparc-times.patch +++ /dev/null @@ -1,35 +0,0 @@ -http://bugs.gentoo.org/204457 - -------- Comment #5 From SpanKY 2008-01-06 18:08:07 0000 [reply] ------- - -i dont have any way of actually run time testing this, but the fix is probably: -- tprintf("st_atime=%s, ", sprinttime(statbuf.st_atime)); -- tprintf("st_mtime=%s, ", sprinttime(statbuf.st_mtime)); -- tprintf("st_ctime=%s}", sprinttime(statbuf.st_ctime)); -+ tprintf("st_atime=%s, ", sprinttime(statbuf.st_atime.tv_sec)); -+ tprintf("st_mtime=%s, ", sprinttime(statbuf.st_mtime.tv_sec)); -+ tprintf("st_ctime=%s}", sprinttime(statbuf.st_ctime.tv_sec)); - -sprinttime() takes a time_t which represents the time (in seconds). the time -members of the solstatbuf are the time (in seconds) as well as nanosecond -granularity. since sprinttime() doesnt include nanosecond granularity, we dont -care about that part of the time. - -someone needs to find a sparc system running with the personality required and -exercise this difference - ---- strace-4.5.16/file.c -+++ strace-4.5.16/file.c -@@ -766,9 +766,9 @@ - break; - } - if (!abbrev(tcp)) { -- tprintf("st_atime=%s, ", sprinttime(statbuf.st_atime)); -- tprintf("st_mtime=%s, ", sprinttime(statbuf.st_mtime)); -- tprintf("st_ctime=%s}", sprinttime(statbuf.st_ctime)); -+ tprintf("st_atime=%s, ", sprinttime(statbuf.st_atime.tv_sec)); -+ tprintf("st_mtime=%s, ", sprinttime(statbuf.st_mtime.tv_sec)); -+ tprintf("st_ctime=%s}", sprinttime(statbuf.st_ctime.tv_sec)); - } - else - tprintf("...}"); |