From 277255953f06fd5908a64e9092611fef2c7d79ee Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 10 Nov 2009 12:21:43 +0000 Subject: [PATCH] Avoiding START UNIT before the drive gets released --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/mmc.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index a52cfe6f..2fe4237c 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2009.11.08.121334" +#define Cdrskin_timestamP "2009.11.10.132154" diff --git a/libburn/trunk/libburn/mmc.c b/libburn/trunk/libburn/mmc.c index ee57acf7..6539e3f2 100644 --- a/libburn/trunk/libburn/mmc.c +++ b/libburn/trunk/libburn/mmc.c @@ -244,7 +244,8 @@ int mmc_function_spy(struct burn_drive *d, char * text) return 0; } if (d->is_stopped && strcmp(text, "stop_unit") != 0 && - strcmp(text, "start_unit") != 0) { + strcmp(text, "start_unit") != 0 && + strncmp(text, "sg_", 3) != 0) { d->start_unit(d); d->is_stopped = 0; }