From: Paul L. <pl...@au...> - 2001-11-30 16:42:31
|
On Tue, 2001-11-27 at 13:39, Jeffrey Nowland wrote: > First problem: > All durations are listed as big negative numbers when tests end. I have this isolated to pan.c line 1159. The call to time(&t) should be outside the if (logfile != NULL) { statement since I am simply logging to console at the moment. > I've taken a look at all my log files from way back and I now know why we havn't caught this before. I've never even seen this happen. Can you reproduce it? I don't see how putting the call to time(&t) outside the if statement would help any. I did notice something odd though, in your proposed fix, you said it should be at line #1159. The current copy of pan.c is only 1158 lines long though and the line you were talking about it more like 597. Have you modified it in some way? Has anyone else seen negative numbers for the duration? -Paul Larson |