projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
filter by facility
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
lttv
/
tracecontext.c
diff --git
a/ltt/branches/poly/lttv/lttv/tracecontext.c
b/ltt/branches/poly/lttv/lttv/tracecontext.c
index 73096b3d0e4dceeeb145abb949f038f41e470749..dd59a15a192332a9ae2f6fcf34a7586a05435458 100644
(file)
--- a/
ltt/branches/poly/lttv/lttv/tracecontext.c
+++ b/
ltt/branches/poly/lttv/lttv/tracecontext.c
@@
-1250,11
+1250,13
@@
gint lttv_traceset_context_pos_pos_compare(
int i, j;
int ret = 0;
int i, j;
int ret = 0;
- if(pos1->tfcp->len == 0) {
- if(pos2->tfcp->len == 0) return 0;
- else return 1;
+ if(ltt_time_compare(pos1->timestamp, ltt_time_infinite) == 0) {
+ if(ltt_time_compare(pos2->timestamp, ltt_time_infinite) == 0)
+ return 0;
+ else
+ return 1;
}
}
- if(
pos2->tfcp->len
== 0)
+ if(
ltt_time_compare(pos2->timestamp, ltt_time_infinite)
== 0)
return -1;
for(i=0;i<pos1->tfcp->len;i++) {
return -1;
for(i=0;i<pos1->tfcp->len;i++) {
This page took
0.022697 seconds
and
4
git commands to generate.