Commit f7b46d31 authored by Thomas Schmitt's avatar Thomas Schmitt

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

parent 6caa4dc8
......@@ -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,
......
#define Xorriso_timestamP "2008.12.01.110022"
#define Xorriso_timestamP "2008.12.01.122825"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment