Doesn't work on windows(fix!)
Status: Beta
Brought to you by:
danny_kurniawan
On mingw/windows as platform, the binary mode has to be set when opening files.
if ((src_file = fopen(argv[1], "rb")) == NULL)
{
printf("Error: cannot open source file for reading!\n");
return 1;
}
if ((dst_file = fopen(argv[2], "wb")) == NULL)
{
printf("Error: cannot open destination file for writing!\n");
return 1;
}
Additional hint: turn off Avira antivir or ./configure won't work
Additional hint There is a warning, that the "packed" keyword is ignored. Disc image looks fine on first glance though.