From 4e52b191b682221ae3dd02e3d92fb69c55d56acb Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 22 Oct 2009 15:56:39 +0000 Subject: [PATCH] Added a "NOT READBLE" result line to -check_md5 --- xorriso/xorriso_timestamp.h | 2 +- xorriso/xorrisoburn.c | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 9c54a174..878e25a3 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2009.10.17.191225" +#define Xorriso_timestamP "2009.10.22.155746" diff --git a/xorriso/xorrisoburn.c b/xorriso/xorrisoburn.c index ca51a53f..051367a2 100644 --- a/xorriso/xorrisoburn.c +++ b/xorriso/xorrisoburn.c @@ -12733,6 +12733,13 @@ ex:; Xorriso_iso_file_close(xorriso, &stream, 0); if(ctx != NULL) iso_md5_end(&ctx, data_md5); + if(ret < 0) { + sprintf(xorriso->result_line, "NOT READABLE: "); + Text_shellsafe(path, xorriso->result_line, 1); + strcat(xorriso->result_line, "\n"); + if(!(flag & 1)) + Xorriso_result(xorriso,0); + } return(ret); }