Intialization bug

This commit is contained in:
Sears Russell 2006-03-28 20:14:04 +00:00
parent bb37db0857
commit 0250ee4a0a
2 changed files with 3 additions and 3 deletions

View file

@ -47,7 +47,7 @@ terms specified in this license.
#include <time.h> #include <time.h>
#include <lladd/transactional.h> #include <lladd/transactional.h>
#include <libdfa/messages.h> #include <libdfa/messages.h>
#include "../lladd/src/lladd/page.h" #include "../src/lladd/page.h"
#include <sys/types.h> #include <sys/types.h>
#include <pthread.h> #include <pthread.h>

View file

@ -157,9 +157,9 @@ END_TEST
START_TEST(logHandleColdReverseIterator) { START_TEST(logHandleColdReverseIterator) {
LogEntry * e; LogEntry * e;
setup_log();
LogHandle lh = getLogHandle(); LogHandle lh = getLogHandle();
int i = 0; int i = 0;
setup_log();
while(((e = nextInLog(&lh)) && (i < 100)) ) { while(((e = nextInLog(&lh)) && (i < 100)) ) {
@ -190,10 +190,10 @@ START_TEST(logWriterTruncate) {
LogEntry * le2; LogEntry * le2;
LogEntry * le3 = NULL; LogEntry * le3 = NULL;
LogEntry * tmp; LogEntry * tmp;
setup_log();
LogHandle lh = getLogHandle(); LogHandle lh = getLogHandle();
int i = 0; int i = 0;
setup_log();
while(i < 234) { while(i < 234) {
i++; i++;