From b1f99e5174d20cf29d5b0bfb33e63237012474ed Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 17 Oct 2007 13:03:24 +0000 Subject: [PATCH] Told burn_read_data() to stay silent on non-existent drive or read error --- src/isofs_wrap.c | 2 +- test/xorriso_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/isofs_wrap.c b/src/isofs_wrap.c index c3bc5573..9d43d77a 100644 --- a/src/isofs_wrap.c +++ b/src/isofs_wrap.c @@ -213,7 +213,7 @@ int isoburn_start_emulation(struct isoburn *o, int flag) /* we can assume 0 as start block for image */ // TODO what about ms? where we validate valid iso image in ms disc? ret = burn_read_data(drive, (off_t) 0, (char*)o->target_iso_head, - sizeof(o->target_iso_head), &data_count, 0); + sizeof(o->target_iso_head), &data_count, 1); /* an error means an empty disc */ if (ret <= 0) { diff --git a/test/xorriso_timestamp.h b/test/xorriso_timestamp.h index e55a166b..6665d180 100644 --- a/test/xorriso_timestamp.h +++ b/test/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2007.10.17.130041" +#define Xorriso_timestamP "2007.10.17.130311"