From 1c4347f913692f7837cdfd141d1d67d6813398aa Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 1 Sep 2005 19:15:54 +0000 Subject: [PATCH] fix seek backbard : rare condition git-svn-id: http://ltt.polymtl.ca/svn@1108 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/lttv/tracecontext.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ltt/branches/poly/lttv/lttv/tracecontext.c b/ltt/branches/poly/lttv/lttv/tracecontext.c index ea7cdf62..98ffffa7 100644 --- a/ltt/branches/poly/lttv/lttv/tracecontext.c +++ b/ltt/branches/poly/lttv/lttv/tracecontext.c @@ -1458,7 +1458,8 @@ guint lttv_process_traceset_seek_n_backward(LttvTracesetContext *self, } /* if we have the same time twice, it means we are at the beginning of the * trace, and we seek back at the same position */ - if(ltt_time_compare(last_time, time) == 0) break; + if(ltt_time_compare(last_time, time) == 0 + && ltt_time_compare(time, self->time_span.start_time) == 0) break; last_time = time; /* Process the traceset, calling a hook which adds events -- 2.34.1