LOGSIZE
if (logptr >= LOGSIZE)
if (logcount < LOGSIZE) {
count = LOGSIZE;
opnum = i + 1 + (logcount/LOGSIZE)*LOGSIZE;
if (i == LOGSIZE)
if (i == LOGSIZE)
struct log_entry oplog[LOGSIZE]; /* the log */