fedora-cvs-commits@redhat.com
[Top] [All Lists]

rpms/ltrace/devel ltrace-0.5-attach.patch, 1.1, 1.2 ltrace.spec, 1.53, 1

Subject: rpms/ltrace/devel ltrace-0.5-attach.patch, 1.1, 1.2 ltrace.spec, 1.53, 1.54
From:
Date: Mon, 4 Sep 2006 08:24:57 -0400
Author: pmachata

Update of /cvs/dist/rpms/ltrace/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv9500

Modified Files:
        ltrace-0.5-attach.patch ltrace.spec 
Log Message:
Adjust attach patch.


ltrace-0.5-attach.patch:
 proc.c  |    6 ++----
 proc.c~ |only
 2 files changed, 2 insertions(+), 4 deletions(-)

Index: ltrace-0.5-attach.patch
===================================================================
RCS file: /cvs/dist/rpms/ltrace/devel/ltrace-0.5-attach.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ltrace-0.5-attach.patch     4 Sep 2006 11:47:24 -0000       1.1
+++ ltrace-0.5-attach.patch     4 Sep 2006 12:24:50 -0000       1.2
@@ -1,11 +1,27 @@
---- ltrace-0.5/proc.c  2006-02-20 16:48:07.000000000 -0500
-+++ ltrace-0.5-pm/proc.c       2006-09-04 07:14:50.000000000 -0400
-@@ -55,6 +55,6 @@ void open_pid(pid_t pid, int verbose)
+diff -Bburp ltrace-0.5-orig/ltrace-0.5/proc.c ltrace-0.5/proc.c
+--- ltrace-0.5-orig/ltrace-0.5/proc.c  2006-09-04 13:58:46.000000000 +0200
++++ ltrace-0.5/proc.c  2006-09-04 14:22:24.000000000 +0200
+@@ -38,13 +38,11 @@ void open_pid(pid_t pid, int verbose)
+       struct process *proc;
+       char *filename;
+ 
+-#if 0
+       if (trace_pid(pid) < 0) {
+               fprintf(stderr, "Cannot attach to pid %u: %s\n", pid,
+                       strerror(errno));
+               return;
        }
- #endif
+-#endif
+ 
+       filename = pid2name(pid);
  
+@@ -57,6 +55,6 @@ void open_pid(pid_t pid, int verbose)
+               return;
+       }
+ #endif
 -      proc = open_program(filename, pid);
--      proc->breakpoints_enabled = 1;
+-      proc->breakpoints_enabled = -1;
 +      proc = open_program(filename, 0);
 +      proc->pid = pid;
  }
+Only in ltrace-0.5: proc.c~


Index: ltrace.spec
===================================================================
RCS file: /cvs/dist/rpms/ltrace/devel/ltrace.spec,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- ltrace.spec 4 Sep 2006 11:47:24 -0000       1.53
+++ ltrace.spec 4 Sep 2006 12:24:54 -0000       1.54
@@ -38,6 +38,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 %patch8 -p1
 sed -i -e 's/-o root -g root//' Makefile.in
 

-- 
fedora-cvs-commits mailing list
fedora-cvs-commits@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-cvs-commits

<Prev in Thread] Current Thread [Next in Thread>
  • rpms/ltrace/devel ltrace-0.5-attach.patch, 1.1, 1.2 ltrace.spec, 1.53, 1.54, fedora-cvs-commits <=