From: teodor Date: Mon, 4 Oct 2004 18:00:17 +0000 (+0000) Subject: fix vacuum function name X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;h=6220afb6924192f9115842e47bff3e8370d09df3;p=tedtools.git fix vacuum function name --- diff --git a/flatdb.c b/flatdb.c index f0be00a..a570417 100644 --- a/flatdb.c +++ b/flatdb.c @@ -162,7 +162,7 @@ FDBClose(FDB *db) { if ( db->listcur ) { FDBFreeSpace *ptr; - vacuumFreeSpace(db); + FDBVacuumFreeSpace(db); header.lenfreespace = sizeof(FDBFreeSpace)*db->listcur; ptr = findFreeSpace( db, header.lenfreespace ); @@ -276,7 +276,7 @@ FDBPut(FDB *db, FDBRecord *record, off_t *offset ) { *offset = ptr->offset; ptr->length -= record->length; if ( ptr->length == 0 ) - vacuumFreeSpace(db); + FDBVacuumFreeSpace(db); if ( lseek(db->fd, *offset, SEEK_SET) != *offset ) tlog(TL_CRIT|TL_EXIT,"FDBPut: lseek failed: %s", strerror(errno)); } else {