Subversion Repositories SvarDOS

Compare Revisions

Ignore whitespace Rev 1550 → Rev 1551

/sved/trunk/sved.c
654,8 → 654,12
line_free(victim);
}
 
/* zero out the struct */
bzero(db, sizeof(struct file));
/* zero out the struct (take care to preserve the id of the slot, though) */
{
unsigned char slotid = db->slotid;
bzero(db, sizeof(struct file));
db->slotid = slotid;
}
 
/* start by adding an empty line */
if (line_add(db, NULL, 0) != 0) return(2);