LOG("ahoy, beginning file test...");
LOG(astring("test file is ") + TEST_FILE());
#endif
LOG("ahoy, beginning file test...");
LOG(astring("test file is ") + TEST_FILE());
#endif
LOG(a_sprintf("block size=%d", block_size));
#endif
abyte *original_block = new abyte[block_size];
LOG(a_sprintf("block size=%d", block_size));
#endif
abyte *original_block = new abyte[block_size];
unsigned int original_checksum
= checksums::bizarre_checksum((abyte *)original_block, block_size);
if (original_checksum) {} // compiler quieting.
unsigned int original_checksum
= checksums::bizarre_checksum((abyte *)original_block, block_size);
if (original_checksum) {} // compiler quieting.
byte_filer fred(TEST_FILE(), "w+");
fred.write(to_stuff_in_file);
}
byte_filer fred(TEST_FILE(), "w+");
fred.write(to_stuff_in_file);
}
byte_array to_fake_stuff(21309, temp_array);
delete [] temp_array;
byte_filer fred(TEST_FILE(), "r");
byte_array to_fake_stuff(21309, temp_array);
delete [] temp_array;
byte_filer fred(TEST_FILE(), "r");
LOG(a_sprintf("about to try reading from file %d bytes", fredsize));
#endif
byte_array file_contents;
LOG(a_sprintf("about to try reading from file %d bytes", fredsize));
#endif
byte_array file_contents;