Avoided locked tray after failed burn_finish() because of busy drive

ZeroFourZero
Thomas Schmitt 15 years ago
parent 5a8910cdd8
commit b812af96f7
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 7
      libburn/init.c
  3. 2
      libburn/libdax_msgs.h

@ -1 +1 @@
#define Cdrskin_timestamP "2007.09.07.164532"
#define Cdrskin_timestamP "2007.09.07.184631"

@ -109,9 +109,10 @@ void burn_finish(void)
/* burn_wait_all(); */
if (!burn_drives_are_clear(0)) {
libdax_msgs_submit(libdax_messenger, -1, 0x00020107,
LIBDAX_MSGS_SEV_SORRY, LIBDAX_MSGS_PRIO_HIGH,
"Drive is busy on attempt to shut down library", 0, 0);
return;
LIBDAX_MSGS_SEV_WARNING, LIBDAX_MSGS_PRIO_HIGH,
"A drive is still busy on shutdown of library", 0, 0);
usleep(1000001);
burn_abort(4440, burn_abort_pacifier, abort_message_prefix);
}
/* ts A60904 : ticket 62, contribution by elmom : name addon "_all" */

@ -314,7 +314,7 @@ Range "scdbackup" : 0x00020000 to 0x0002ffff
0x00020104 (SORRY,HIGH) = NULL pointer caught
0x00020105 (SORRY,HIGH) = Drive is already released
0x00020106 (SORRY,HIGH) = Drive is busy on attempt to close
0x00020107 (SORRY,HIGH) = Drive is busy on attempt to shut down library
0x00020107 (WARNING,HIGH) = A drive is still busy on shutdown of library
0x00020108 (SORRY,HIGH) = Drive is not grabbed on disc status inquiry
0x00020108 (FATAL,HIGH) = Could not allocate new drive object
0x00020109 (FATAL,HIGH) = Library not running

Loading…
Cancel
Save