*
* LDC2 source code
*
- * $Date: 2007/05/30 02:51:16 $
+ * $Date: 2010/01/04 02:10:59 $
* $Author: hachti $
*
* $Log: main.cpp,v $
- * Revision 2.3 2007/05/30 02:51:16 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
+ * *** empty log message ***
+ *
+ * Revision 2.3 2007-05-30 02:51:16 hachti
* Changed everything towards LDC2 use.
* Worked on the buildlib.sh.
* Centralized buildlib.sh to a new lib/common directory.
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <unistd.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <stdlib.h>
+
#include <vector>
#include <string>
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;