Changeset 2463


Ignore:
Timestamp:
Oct 26, 2009, 1:34:16 AM (10 years ago)
Author:
bruno
Message:
  • Reset an error counter before blanking a DVD to avoid always returning an error (Vincent Raman vincent.raman_at_macqel.eu)
Location:
branches
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/common/libmondo-archive.c

    r2462 r2463  
    16651665                    ("Failed to write to disk. I shall blank it and then try again.");
    16661666                sleep(5);
     1667                /* reset error counter before trying to blank DVD */
     1668                retval -= res;
    16671669                sync();
    16681670                pause_for_N_seconds(5, "Letting DVD drive settle");
  • branches/2.2.9/mondo/src/common/libmondo-archive.c

    r2454 r2463  
    17701770                    ("Failed to write to disk. I shall blank it and then try again.");
    17711771                sleep(5);
     1772                /* reset error counter before trying to blank DVD */
     1773                retval -= res;
    17721774                (void)system("sync");
    17731775                pause_for_N_seconds(5, "Letting DVD drive settle");
Note: See TracChangeset for help on using the changeset viewer.