Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
Index Data Aps
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
Index Data Aps
8);
strcpy (bfs->cache_fname, bfs->commit_area->dirs->name);
strcat (bfs->cache_fname, "/cache");
8);
strcpy (bfs->cache_fname, bfs->commit_area->dirs->name);
strcat (bfs->cache_fname, "/cache");
exit (1);
}
fprintf (outf, "%s %d\n", name, block_size);
exit (1);
}
fprintf (outf, "%s %d\n", name, block_size);
-int bf_read (BFile bf, int no, int offset, int nbytes, void *buf)
+int bf_read (BFile bf, zint no, int offset, int nbytes, void *buf)
-int bf_write (BFile bf, int no, int offset, int nbytes, const void *buf)
+int bf_write (BFile bf, zint no, int offset, int nbytes, const void *buf)
assert (bfs->commit_area);
if (!(inf = open_cache (bfs, "rb")))
{
assert (bfs->commit_area);
if (!(inf = open_cache (bfs, "rb")))
{
return ;
}
while (fscanf (inf, "%s %d", path, &block_size) == 2)
return ;
}
while (fscanf (inf, "%s %d", path, &block_size) == 2)