From d8395cd78ee715614de009a7571670df2564c9ed Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 26 Jan 2008 13:16:12 +0000 Subject: [PATCH] Made a sudden end to all stdio drives in burn_abort() --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/drive.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index fdd45f17..41d7e588 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2008.01.26.123054" +#define Cdrskin_timestamP "2008.01.26.131519" diff --git a/libburn/trunk/libburn/drive.c b/libburn/trunk/libburn/drive.c index ab46eb71..5cd654e9 100644 --- a/libburn/trunk/libburn/drive.c +++ b/libburn/trunk/libburn/drive.c @@ -1698,7 +1698,10 @@ int burn_abort(int patience, occup = burn_drive_is_occupied(&(drive_array[i])); if(occup == -2) continue; - if(occup <= 10) { + if(drive_array[i].drive_role != 1) { + drive_array[i].busy = BURN_DRIVE_IDLE; + burn_drive_forget(&(drive_array[i]), 1); + } else if(occup <= 10) { burn_drive_forget(&(drive_array[i]), 1); } else if(occup <= 100) { if(first_round)