3 * Revision 1.4 1999/05/28 05:07:33 Michiel
4 * Fixed bug occuring on empty directory blocks
5 * Added rbl.always fix; improved rbl.disksize fix
8 * Revision 1.3 1999/05/04 17:59:09 Michiel
9 * check mode, logfile, search rootblock implemented
12 * Revision 1.2 1999/05/04 04:27:13 Michiel
13 * debugged upto buildrext
15 * Revision 1.1 1999/04/22 15:24:28 Michiel
19 #include <exec/types.h>
24 static char msgbuffer
[512];
25 static BOOL error
= FALSE
;
26 static BOOL fixed
= FALSE
;
35 stats
.fragmentedfiles
=
41 void adderror(char *message
)
52 sprintf(msgbuffer
, "ERROR: %s\n", message
);
53 volume
.showmsg(msgbuffer
);
58 void fixederror(char *message
)
77 sprintf(msgbuffer
, "FIXED: %s\n", message
);
78 volume
.showmsg(msgbuffer
);
81 volume
.showmsg("FIXED\n");
86 void enterblock(uint32 blknr
)
88 if (blknr
!= stats
.blocknr
)
91 stats
.prevblknr
= stats
.blocknr
;
92 stats
.blocknr
= blknr
;
93 error
= fixed
= FALSE
;
94 stats
.blockschecked
++;
95 volume
.updatestats(); /* optimise !! */
101 stats
.blocknr
= stats
.prevblknr
;