Bug fix: disk patterns with relative addresses were not properly resolved

This commit is contained in:
Thomas Schmitt 2008-12-01 12:50:14 +00:00
parent 6caa4dc86e
commit f7b46d31a4
2 changed files with 5 additions and 2 deletions

View File

@ -6843,8 +6843,11 @@ int Xorriso_expand_disk_pattern(struct XorrisO *xorriso,
if(patterns[i][0]=='/' || abs_adr) {
strcpy(dir_adr, "/");
abs_adr= 4;
} else
} else {
strcpy(dir_adr, xorriso->wdx);
if(dir_adr[0]==0)
strcpy(dir_adr, "/");
}
was_filec= *filec;
ret= Xorriso_obtain_pattern_files_x(xorriso, "", dir_adr, filec, *filev,

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.12.01.110022"
#define Xorriso_timestamP "2008.12.01.122825"