]> git.pld-linux.org Git - packages/strace.git/blobdiff - strace-getdents64.patch
- obsolete
[packages/strace.git] / strace-getdents64.patch
index f3397d8453d02f3cfefbdd3a99a6ea052594f59f..37be911c04b49e3be15026b30e784a535bff8d1a 100644 (file)
@@ -1,50 +1,23 @@
-diff -Nur strace-4.4.orig/desc.c strace-4.4/desc.c
---- strace-4.4.orig/desc.c     Tue Mar 13 00:29:05 2001
-+++ strace-4.4/desc.c  Fri Oct 19 16:35:23 2001
-@@ -335,6 +335,12 @@
-               default:
-                       tprintf(", %#lx", tcp->u_arg[2]);
-                       break;
-+#if defined(F_GETLK64) && F_GETLK64 != F_GETLK
-+              case F_SETLK64: case F_SETLKW64:
-+                      tprintf(", ");
-+                      printflock64(tcp, tcp->u_arg[2], 0);
-+#endif
-+                      break;
-               }
-       }
-       return 0;
 diff -Nur strace-4.4.orig/linux/alpha/syscallent.h strace-4.4/linux/alpha/syscallent.h
 --- strace-4.4.orig/linux/alpha/syscallent.h   Fri Oct 19 16:35:06 2001
 +++ strace-4.4/linux/alpha/syscallent.h        Fri Oct 19 16:35:23 2001
-@@ -406,3 +406,4 @@
+@@ -405,7 +405,7 @@
        { 2,    TF,     sys_pivot_root,         "pivot_root"            }, /* 374 */
        { 3,    0,      sys_mincore,            "mincore"               }, /* 375 */
        { 3,    0,      printargs,              "pciconfig_iobase"      }, /* 376 */
-+      { 3,    0,      sys_getdents64,         "getdents64"            }, /* 377 */  
-diff -Nur strace-4.4.orig/linux/sparc/syscallent.h strace-4.4/linux/sparc/syscallent.h
---- strace-4.4.orig/linux/sparc/syscallent.h   Fri Oct 19 16:35:06 2001
-+++ strace-4.4/linux/sparc/syscallent.h        Fri Oct 19 16:37:21 2001
-@@ -153,8 +153,8 @@
+-      { 4,    0,      sys_getdents64,         "getdents64"            }, /* 377 */
++      { 3,    0,      sys_getdents64,         "getdents64"            }, /* 377 */
+       { 0,    0,      printargs,              "gettid"                }, /* 378 */
+       { 4,    0,      sys_readahead,          "readahead"             }, /* 379 */
+       { 5,    0,      printargs,              "SYS_380"               }, /* 380 */
+--- strace-4.5.6/linux/sparc/syscallent.h.orig 2004-07-26 08:24:07.836003360 +0200
++++ strace-4.5.6/linux/sparc/syscallent.h      2004-07-26 08:26:53.960748560 +0200
+@@ -152,7 +152,7 @@
        { 4,    TN,     sys_getmsg,     "getmsg" },             /* 151 */
        { 4,    TN,     sys_putmsg,     "putmsg" },             /* 152 */
        { 3,    0,      sys_poll,       "poll" },               /* 153 */
--      { 4,    0,      printargs,      "getdents64" },         /* 154 */
--      { 1,    0,      printargs,      "nfssvc" },             /* 155 */
+-      { 4,    0,      sys_getdents64, "getdents64" },         /* 154 */
 +      { 3,    0,      sys_getdents64, "getdents64" },         /* 154 */
-+      { 3,    0,      sys_fcntl,      "fcntl64" },            /* 155 */
+       { 3,    0,      sys_fcntl,      "fcntl64" },            /* 155 */
        { 4,    0,      printargs,      "getdirentries" },      /* 156 */
        { 2,    TF,     sys_statfs,     "statfs" },             /* 157 */
-       { 2,    0,      sys_fstatfs,    "fstatfs" },            /* 158 */
-diff -Nur strace-4.4.orig/linux/syscallent.h strace-4.4/linux/syscallent.h
---- strace-4.4.orig/linux/syscallent.h Fri Oct 19 16:35:06 2001
-+++ strace-4.4/linux/syscallent.h      Fri Oct 19 16:36:24 2001
-@@ -266,7 +266,7 @@
-       { 2,    TF,     sys_pivotroot,          "pivot_root"    }, /* 217 */
-       { 3,    0,      sys_mincore,            "mincore"       }, /* 218 */
-       { 3,    0,      sys_madvise,            "madvise"       }, /* 219 */
--      { 4,    0,      printargs,              "getdents64"    }, /* 220 */
-+      { 3,    0,      sys_getdents64,         "getdents64"    }, /* 220 */
-       { 3,    0,      sys_fcntl,              "fcntl64"       }, /* 221 */
-       { 4,    0,      printargs,              "SYS_222"       }, /* 222 */
-       { 4,    0,      printargs,              "SYS_223"       }, /* 223 */
This page took 0.101289 seconds and 4 git commands to generate.