diff --git a/test/xorriso.1 b/test/xorriso.1 index 3d0c10a6..022bc6fb 100644 --- a/test/xorriso.1 +++ b/test/xorriso.1 @@ -2,7 +2,7 @@ .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) -.TH XORRISO 1 "January 2, 2008" +.TH XORRISO 1 "January 21, 2008" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: diff --git a/test/xorriso.c b/test/xorriso.c index 49ab33b4..d824cc9c 100644 --- a/test/xorriso.c +++ b/test/xorriso.c @@ -6597,12 +6597,21 @@ int Xorriso_option_dev(struct XorrisO *xorriso, char *in_adr, int flag) adr= in_adr; if(strcmp(in_adr, "-")==0) adr= "stdio:/dev/fd/1"; - if(xorriso->ban_stdio_write && strncmp(adr, "stdio:", 6)==0) { - sprintf(xorriso->info_text, - "Drive address banned by -ban_stdio_write : '%s'", - adr); - Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0); - return(0); + if(strncmp(adr, "stdio:", 6)==0) { + if(strlen(adr)==6 || strcmp(adr, "stdio:/")==0 || + strcmp(adr, "stdio:.")==0 || strcmp(adr, "stdio:..")==0 || + strcmp(adr, "stdio:-")==0) { + sprintf(xorriso->info_text, + "No suitable path given by device address '%s'", adr); + Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0); + return(0); + } + if(xorriso->ban_stdio_write) { + sprintf(xorriso->info_text, + "Drive address banned by -ban_stdio_write : '%s'", adr); + Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0); + return(0); + } } if(xorriso->volset_change_pending && (flag&1)) { diff --git a/test/xorriso_timestamp.h b/test/xorriso_timestamp.h index f29c590d..2292f56e 100644 --- a/test/xorriso_timestamp.h +++ b/test/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2008.01.20.200254" +#define Xorriso_timestamP "2008.01.21.221939"