diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 97ef882..4ea8b1a 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.02.14.085951" +#define Cdrskin_timestamP "2011.02.18.165542" diff --git a/libburn/drive.c b/libburn/drive.c index 4efaee0..49245ee 100644 --- a/libburn/drive.c +++ b/libburn/drive.c @@ -870,6 +870,11 @@ void burn_drive_cancel(struct burn_drive *d) /* ts B00225 : these mutexes are unnecessary because "= 1" is atomar. pthread_mutex_lock(&d->access_lock); */ + if (!d->cancel) { + libdax_msgs_submit(libdax_messenger, -1, 0x00000002, + LIBDAX_MSGS_SEV_DEBUG, LIBDAX_MSGS_PRIO_ZERO, + "burn_drive_cancel() was called", 0, 0); + } d->cancel = 1; /* pthread_mutex_unlock(&d->access_lock); diff --git a/libburn/sector.c b/libburn/sector.c index dddc8bb..32b4a9a 100644 --- a/libburn/sector.c +++ b/libburn/sector.c @@ -183,7 +183,14 @@ static void get_bytes(struct burn_track *track, int count, unsigned char *data) if (shortage >= count) track->track_data_done = 1; if (track->end_on_premature_eoi && !track->open_ended) { + char msg[80]; /* Memorize that premature end of input happened */ + sprintf(msg, + "Premature end of input encountered. Missing: %d bytes", + shortage); + libdax_msgs_submit(libdax_messenger, -1, 0x00020180, + LIBDAX_MSGS_SEV_FAILURE, LIBDAX_MSGS_PRIO_HIGH, + msg, 0,0); track->end_on_premature_eoi = 2; } if (track->open_ended || track->end_on_premature_eoi)