patches/strace/4.5.16/250-strace-fix-disabled-largefile-syscalls.patch
changeset 746 b150d6f590fc
parent 745 e445c00d134d
child 747 d3e603e7c17c
     1.1 --- a/patches/strace/4.5.16/250-strace-fix-disabled-largefile-syscalls.patch	Mon Jul 28 20:17:48 2008 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,22 +0,0 @@
     1.4 -diff -dur strace-4.5.16.orig/syscall.c strace-4.5.16/syscall.c
     1.5 ---- strace-4.5.16.orig/syscall.c	2007-07-14 19:21:44.000000000 +0200
     1.6 -+++ strace-4.5.16/syscall.c	2007-07-14 19:22:49.000000000 +0200
     1.7 -@@ -125,6 +125,18 @@
     1.8 - #define TP TRACE_PROCESS
     1.9 - #define TS TRACE_SIGNAL
    1.10 -
    1.11 -+#ifndef HAVE_STATFS64
    1.12 -+/*
    1.13 -+ * Ugly hacks for systems that do not have LFS
    1.14 -+ */
    1.15 -+
    1.16 -+#define sys_truncate64  sys_truncate
    1.17 -+#define sys_ftruncate64 sys_ftruncate
    1.18 -+#define sys_getdents64  sys_getdents
    1.19 -+#define sys_statfs64    sys_statfs
    1.20 -+#define sys_fstatfs64   sys_fstatfs
    1.21 -+#endif
    1.22 -+
    1.23 - static const struct sysent sysent0[] = {
    1.24 - #include "syscallent.h"
    1.25 - };