Imported Upstream version 0.72.3

This commit is contained in:
TANIGUCHI Takaki
2012-03-06 11:08:15 +09:00
parent 205701b3de
commit 30255c97b3
713 changed files with 13953 additions and 28840 deletions

View File

@@ -1,5 +1,5 @@
/* dvdisaster: Additional error correction for optical media.
* Copyright (C) 2004-2010 Carsten Gnoerlich.
* Copyright (C) 2004-2011 Carsten Gnoerlich.
* Project home page: http://www.dvdisaster.com
* Email: carsten@dvdisaster.com -or- cgnoerlich@fsfe.org
*
@@ -216,23 +216,10 @@ void RS01Create(Method *self)
/*** Test the image file and create the CRC sums */
/* Get rid of old ecc file (if any exists) */
if(LargeStat(Closure->eccName, &n))
{
if(ConfirmEccDeletion(Closure->eccName))
LargeUnlink(Closure->eccName);
else
{ SetLabelText(GTK_LABEL(ec->wl->encFootline),
_("<span %s>Aborted to keep existing ecc file.</span>"),
Closure->redMarkup);
ec->earlyTermination = FALSE;
goto terminate;
}
}
/* Open new ecc file */
/* Explicitly unlinking the ecc file removes superflous segments
in FAT mode if the ecc file already existed. */
LargeUnlink(Closure->eccName);
ei = ec->ei = OpenEccFile(WRITEABLE_ECC);
ii = ec->ii = OpenImageFile(NULL, READABLE_IMAGE);
@@ -349,7 +336,7 @@ void RS01Create(Method *self)
version 0.40.7 due to a bug in the version processing code.
So ecc files tagged with -devel or -rc status will not work with prior
versions. But they are experimental version available only through CVS,
so this issue is not as big as it appears.
so this issue is not a big as it appears.
- Version 0.66 records the inLast value in the ecc file to facilitate
processing non-image files. Previous versions do not use this field
and may round up file length to the next multiple of 2048 when doing
@@ -983,7 +970,8 @@ void RS01Create(Method *self)
SetLabelText(GTK_LABEL(wl->encFootline),
_("The error correction file has been successfully created.\n"
"Make sure to keep this file on a reliable medium."));
"Make sure to keep this file on a reliable medium."),
Closure->eccName);
}
/*** If the --unlink option or respective GUI switch is set,