pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/strace delete a stray printf



details:   https://anonhg.NetBSD.org/pkgsrc/rev/518752092da4
branches:  trunk
changeset: 509181:518752092da4
user:      christos <christos%pkgsrc.org@localhost>
date:      Sun Mar 05 08:28:29 2006 +0000

description:
delete a stray printf

diffstat:

 sysutils/strace/distinfo         |   6 +++---
 sysutils/strace/patches/patch-an |  36 ++++++++++++++----------------------
 2 files changed, 17 insertions(+), 25 deletions(-)

diffs (155 lines):

diff -r 632ea3c2b572 -r 518752092da4 sysutils/strace/distinfo
--- a/sysutils/strace/distinfo  Sun Mar 05 08:20:25 2006 +0000
+++ b/sysutils/strace/distinfo  Sun Mar 05 08:28:29 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2006/03/05 08:17:49 christos Exp $
+$NetBSD: distinfo,v 1.2 2006/03/05 08:28:29 christos Exp $
 
 SHA1 (strace-4.5.14.tar.bz2) = 72c17d1dd6786d22ca0aaaa7292b8edcd70a27de
 RMD160 (strace-4.5.14.tar.bz2) = cb42cac34d1624dd24842ada0dbb9dfff67e8e93
@@ -9,14 +9,14 @@
 SHA1 (patch-ad) = 998676d8a5940370f51e038885188ebec9c6f880
 SHA1 (patch-ae) = 9fc9a8d3e5646f3d00e617280eacd243efb257c7
 SHA1 (patch-af) = ce3080cf69d4cb8201b22f797b8d9025e90b4df0
-SHA1 (patch-ag) = 41e1a88691257ad0b9db24a0d3a0a6b7f6cc9511
+SHA1 (patch-ag) = bf4e197988207c414b63fdd066e9fa107a534684
 SHA1 (patch-ah) = bb0b7e6b53fa63a0da777c5238adc4762bbbea8c
 SHA1 (patch-ai) = b5aaf112a458c6354ea55b3cee59309f567a10c4
 SHA1 (patch-aj) = e9963c4adec7be0552e945f33558eb83f6542f52
 SHA1 (patch-ak) = e315a9647eca8d5704ec07efd5f7195fa77baa4c
 SHA1 (patch-al) = 74eb0fbe7ffe137461c318e2670d03776b8633f6
 SHA1 (patch-am) = 47cd69731cbe0ff374f747fc8fedc4c2f06479b5
-SHA1 (patch-an) = b980eaf033e3625f9e1ae532d5fa59c5652a413e
+SHA1 (patch-an) = 7d744598fc35ffb3de04f969c7d7b6df377e4743
 SHA1 (patch-ao) = 232675e1e9b3a6faf34860676c6cea00051086e9
 SHA1 (patch-ap) = ebd1af2b869602600262e76afb3d36c8123cd51d
 SHA1 (patch-aq) = 53486623021bfc4e376054119f637ce9a445df2b
diff -r 632ea3c2b572 -r 518752092da4 sysutils/strace/patches/patch-an
--- a/sysutils/strace/patches/patch-an  Sun Mar 05 08:20:25 2006 +0000
+++ b/sysutils/strace/patches/patch-an  Sun Mar 05 08:28:29 2006 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-an,v 1.1 2006/03/05 08:17:49 christos Exp $
+$NetBSD: patch-an,v 1.2 2006/03/05 08:28:29 christos Exp $
 
 --- syscall.c  2006-01-12 05:18:53.000000000 -0500
-+++ syscall.c  2006-03-05 01:59:19.000000000 -0500
++++ syscall.c  2006-03-05 03:27:00.000000000 -0500
 @@ -38,9 +38,9 @@
  #include <signal.h>
  #include <time.h>
@@ -24,15 +24,7 @@
  #ifdef HAVE_SYS_REG_H
  #include <sys/reg.h>
  #ifndef PTRACE_PEEKUSR
-@@ -200,6 +204,7 @@
- set_personality(personality)
- int personality;
- {
-+printf("setpersonality %d\n", personality);
-       switch (personality) {
-       case 0:
-               errnoent = errnoent0;
-@@ -634,6 +639,7 @@
+@@ -634,6 +638,7 @@
  }
  #endif
  
@@ -40,7 +32,7 @@
  static void
  decode_subcall(tcp, subcall, nsubcalls, style)
  struct tcb *tcp;
-@@ -719,6 +725,7 @@
+@@ -719,6 +724,7 @@
  #endif /* FREEBSD */
        }
  }
@@ -48,7 +40,7 @@
  #endif
  
  struct tcb *tcp_last = NULL;
-@@ -855,9 +862,9 @@
+@@ -855,9 +861,9 @@
         static long rax;
  #endif
  #endif /* LINUX */
@@ -61,7 +53,7 @@
  
  int
  get_scno(tcp)
-@@ -1318,9 +1325,9 @@
+@@ -1318,9 +1324,9 @@
  #ifdef HAVE_PR_SYSCALL
        scno = tcp->status.PR_SYSCALL;
  #else /* !HAVE_PR_SYSCALL */
@@ -73,7 +65,7 @@
        if (pread(tcp->pfd_reg, &regs, sizeof(regs), 0) < 0) {
                perror("pread");
                  return -1;
-@@ -1334,8 +1341,28 @@
+@@ -1334,8 +1340,28 @@
                scno = regs.r_eax;
                break;
        }
@@ -103,7 +95,7 @@
  #endif /* USE_PROCFS */
        if (!(tcp->flags & TCB_INSYSCALL))
                tcp->scno = scno;
-@@ -1360,7 +1387,9 @@
+@@ -1360,7 +1386,9 @@
  struct tcb *tcp;
  {
  #ifndef USE_PROCFS
@@ -113,7 +105,7 @@
  #else /* USE_PROCFS */
        int scno = known_scno(tcp);
  
-@@ -1733,7 +1762,7 @@
+@@ -1733,7 +1761,7 @@
                }
  #endif /* MIPS */
  #endif /* SVR4 */
@@ -122,7 +114,7 @@
                if (regs.r_eflags & PSL_C) {
                        tcp->u_rval = -1;
                        u_error = regs.r_eax;
-@@ -1743,7 +1772,7 @@
+@@ -1743,7 +1771,7 @@
                          ((unsigned long long) regs.r_edx << 32) +  regs.r_eax;
                        u_error = 0;
                }
@@ -131,7 +123,7 @@
        tcp->u_error = u_error;
        return 1;
  }
-@@ -1926,6 +1955,20 @@
+@@ -1926,6 +1954,20 @@
                  return -1;
          }
  #endif /* FREEBSD */
@@ -152,7 +144,7 @@
  
        /* All branches reach here on success (only).  */
        tcp->u_error = error;
-@@ -1938,7 +1981,9 @@
+@@ -1938,7 +1980,9 @@
  struct tcb *tcp;
  {
  #ifndef USE_PROCFS
@@ -162,7 +154,7 @@
  #endif /* !USE_PROCFS */
  #ifdef LINUX
  #if defined(S390) || defined(S390X)
-@@ -2236,6 +2281,29 @@
+@@ -2236,6 +2280,29 @@
        I DONT KNOW WHAT TO DO
  #endif /* !HAVE_PR_SYSCALL */
  #endif /* SVR4 */
@@ -192,7 +184,7 @@
  #ifdef FREEBSD
        if (tcp->scno >= 0 && tcp->scno < nsyscalls &&
            sysent[tcp->scno].nargs > tcp->status.val)
-@@ -2648,6 +2716,14 @@
+@@ -2648,6 +2715,14 @@
        pread(tcp->pfd_reg, &regs, sizeof(regs), 0);
        val = regs.r_edx;
  #endif



Home | Main Index | Thread Index | Old Index