From f677261e77db42f7ceea3d90d5eebbe72f8a00a9 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 22 Aug 2007 16:40:22 +0000 Subject: [PATCH] Avoided locked drive with interrupted telltoc read. (eject unlocks anyway) --- libburn/trunk/test/telltoc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libburn/trunk/test/telltoc.c b/libburn/trunk/test/telltoc.c index 08a2a7e5..f9c7937a 100644 --- a/libburn/trunk/test/telltoc.c +++ b/libburn/trunk/test/telltoc.c @@ -806,6 +806,9 @@ int main(int argc, char **argv) /* Print messages of severity SORRY or more directly to stderr */ burn_msgs_set_severities("NEVER", "SORRY", "telltoc : "); + /* Activate the default signal handler */ + burn_set_signal_handling("telltoc : ", NULL, 0); + /** Note: driveno might change its value in this call */ ret = telltoc_aquire_drive(drive_adr, &driveno, !full_default); if (ret<=0) {