From bbb8ddfd1fa0a653579ebba4292a3cd1d590bc9c 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 --- libisoburn/trunk/src/isofs_wrap.c | 2 +- libisoburn/trunk/test/xorriso_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libisoburn/trunk/src/isofs_wrap.c b/libisoburn/trunk/src/isofs_wrap.c index c3bc5573..9d43d77a 100644 --- a/libisoburn/trunk/src/isofs_wrap.c +++ b/libisoburn/trunk/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/libisoburn/trunk/test/xorriso_timestamp.h b/libisoburn/trunk/test/xorriso_timestamp.h index e55a166b..6665d180 100644 --- a/libisoburn/trunk/test/xorriso_timestamp.h +++ b/libisoburn/trunk/test/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2007.10.17.130041" +#define Xorriso_timestamP "2007.10.17.130311"