patches/strace/4.5.15/strace-fix-disabled-largefile-syscalls.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jul 14 17:02:05 2007 +0000 (2007-07-14)
changeset 256 97c14281a40c
permissions -rw-r--r--
Add patches for strace 4.5.15.
     1 --- strace-4.5.15.orig/syscall.c	2007-01-29 17:23:38.000000000 +0100
     2 +++ strace-4.5.15/syscall.c	2007-01-29 18:02:17.000000000 +0100
     3 @@ -125,6 +125,18 @@
     4  #define TP TRACE_PROCESS
     5  #define TS TRACE_SIGNAL
     6  
     7 +#ifndef HAVE_STATFS64
     8 +/*
     9 + * Ugly hacks for systems that do not have LFS
    10 + */
    11 +
    12 +#define sys_truncate64  sys_truncate
    13 +#define sys_ftruncate64 sys_ftruncate
    14 +#define sys_getdents64  sys_getdents
    15 +#define sys_statfs64    sys_statfs
    16 +#define sys_fstatfs64   sys_fstatfs
    17 +#endif
    18 +
    19  static const struct sysent sysent0[] = {
    20  #include "syscallent.h"
    21  };