*
* LDC2 source code
*
- * $Date: 2008/10/01 13:30:14 $
+ * $Date: 2010/01/04 02:10:59 $
* $Author: hachti $
*
* $Log: main.cpp,v $
- * Revision 2.5 2008/10/01 13:30:14 hachti
+ * Revision 2.6 2010/01/04 02:10:59 hachti
+ * *** empty log message ***
+ *
+ * Revision 2.5 2008-10-01 13:30:14 hachti
* Added some includes
*
* Revision 2.4 2008-08-25 21:02:24 hachti
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
-
+#include <stdio.h>
#include <stdlib.h>
while(read_ahead){
- bool err_checksum=false; //! Checksum error flag.
- bool err_integrity=false; //! Integrity error flag.
+ // bool err_checksum=false; //! Checksum error flag.
+ // bool err_integrity=false; //! Integrity error flag.
bool warning=false; //! Warning flag.
bool error=false; //! Error flag.
catch(tape_block::eof_illegal_exception &e){
block=e.get_block();
- err_integrity=true;
+ // err_integrity=true;
read_ahead=false;
if (cfg_ignore_block_errors){
message="Warning: Block integrity check failed!\n";
catch(tape_block::checksum_error_exception &e){
block=e.get_block();
- err_checksum=true;
+ // err_checksum=true;
if (cfg_ignore_checksum_errors){
message="Warning: Block checksum wrong!\n";
warning=true;