From d48b1ce2a3646da7e3e5310825e9a9fa63395f1d 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 --- libisoburn/trunk/xorriso/xorriso_timestamp.h | 2 +- libisoburn/trunk/xorriso/xorrisoburn.c | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libisoburn/trunk/xorriso/xorriso_timestamp.h b/libisoburn/trunk/xorriso/xorriso_timestamp.h index 9c54a174..878e25a3 100644 --- a/libisoburn/trunk/xorriso/xorriso_timestamp.h +++ b/libisoburn/trunk/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2009.10.17.191225" +#define Xorriso_timestamP "2009.10.22.155746" diff --git a/libisoburn/trunk/xorriso/xorrisoburn.c b/libisoburn/trunk/xorriso/xorrisoburn.c index ca51a53f..051367a2 100644 --- a/libisoburn/trunk/xorriso/xorrisoburn.c +++ b/libisoburn/trunk/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); }