From 88672b7fd3600a8181a495223b80aa54a1300d68 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 5 Sep 2013 08:29:30 +0000 Subject: [PATCH] Bug fix: -as mkisofs option -log-file added the log file to the image --- xorriso/emulators.c | 3 +++ xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/xorriso/emulators.c b/xorriso/emulators.c index d82288e8..f915fdfa 100644 --- a/xorriso/emulators.c +++ b/xorriso/emulators.c @@ -2043,6 +2043,9 @@ rr_reloc_dir:; Xorriso_relax_compliance(xorriso, "deep_paths_off:long_paths_off", 0); } else if(strcmp(argpt, "-log-file") == 0) { + if(i + 1 >= argc) + goto not_enough_args; + i+= 1; /* was already handled before this loop */; } else if(strcmp(argpt, "-gui") == 0) { diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index ba040391..5b4e13e4 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2013.09.05.081703" +#define Xorriso_timestamP "2013.09.05.082833"