summaryrefslogtreecommitdiffstats
path: root/package/ltt/ltt.patch
blob: b0c7580867798b14231e007921dad313547f8399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
diff -urN TraceToolkit-0.9.5.orig/LibLTT/EventDB.c TraceToolkit-0.9.5/LibLTT/EventDB.c
--- TraceToolkit-0.9.5.orig/LibLTT/EventDB.c	2002-04-15 09:10:13.000000000 -0700
+++ TraceToolkit-0.9.5/LibLTT/EventDB.c	2005-09-29 15:09:11.000000000 -0700
@@ -2757,7 +2757,7 @@
 
 	/* Increment number of custom events */
 	pmTraceDB->NbCustom++;
-	goto NoControlEvent;
+	continue;
 	break;
 
       /* A custom event has occured */
@@ -2800,8 +2800,6 @@
       lLastCtrlEvent     = lEvent;
       lLastCtrlEventTime = lEventTime;
       }
-
-NoControlEvent:
     } while(DBEventNext(pmTraceDB, &lEvent) == TRUE);
 
   /* Remember the last event and its time */
diff -urN TraceToolkit-0.9.5.orig/LibLTT/RTAIDB.c TraceToolkit-0.9.5/LibLTT/RTAIDB.c
--- TraceToolkit-0.9.5.orig/LibLTT/RTAIDB.c	2002-04-15 20:00:05.000000000 -0700
+++ TraceToolkit-0.9.5/LibLTT/RTAIDB.c	2005-09-29 15:09:17.000000000 -0700
@@ -2621,7 +2621,7 @@
 
 	/* Increment number of custom events */
 	pmTraceDB->NbCustom++;
-	goto NoControlEvent;
+	continue;
 	break;
 
       /* A custom event has occured */
@@ -2936,8 +2936,6 @@
       lLastCtrlEvent     = lEvent;
       lLastCtrlEventTime = lEventTime;
       }
-
-NoControlEvent:
     } while(DBEventNext(pmTraceDB, &lEvent) == TRUE);
 
   /* Remember the last event and it's time */