dtinfo other files

This commit is contained in:
Ulrich Wilkens
2013-08-28 21:16:39 +02:00
committed by Jon Trulson
parent acdae62484
commit 4ec9658299
42 changed files with 1415 additions and 118 deletions

View File

@@ -275,7 +275,7 @@ goodver:
* so opening .dbd file read-only is still ok.
*/
dbf = open_b (dbfile, O_RDONLY);
DB_LSEEK(dbf, DBD_COMPAT_LEN + 8L*sizeof(INT), 0);
DB_LSEEK(dbf, (off_t)(DBD_COMPAT_LEN + 8L*sizeof(INT)), 0);
/*----------------- FILE TABLE -------------------*/
DB_READ(dbf, (char FAR *)&file_table[ORIGIN(ft_offset)],