Working towards exclusion of user defined absolute paths and leaf patterns
This commit is contained in:
@ -1638,7 +1638,12 @@ cannot_open_dir:;
|
||||
{ret= -1; goto ex;}
|
||||
}
|
||||
|
||||
/* >>> compare exclusions against disk_path resp. name */;
|
||||
/* compare exclusions against disk_path resp. name */
|
||||
ret= Xorriso_path_is_excluded(xorriso, disk_path, 0);
|
||||
if(ret<0)
|
||||
{ret= -1; goto ex;}
|
||||
if(ret>0)
|
||||
continue;
|
||||
|
||||
strcpy(img_name, name);
|
||||
if(Xorriso_much_too_long(xorriso, strlen(img_path), 0)<=0)
|
||||
@ -1901,9 +1906,11 @@ int Xorriso_graft_in(struct XorrisO *xorriso, void *boss_iter,
|
||||
struct stat stbuf;
|
||||
|
||||
|
||||
/* >>> compare exclusions against disk_path resp. name
|
||||
but no leaf patter if flag&4 */;
|
||||
|
||||
/* compare exclusions against disk_path resp. name */
|
||||
/* >>> ??? why not !(flag&4) ? : "but no leaf patter if flag&4 */;
|
||||
ret= Xorriso_path_is_excluded(xorriso, disk_path, 0);
|
||||
if(ret!=0)
|
||||
return(ret);
|
||||
|
||||
for(cpt= img_path; 1; cpt++) {
|
||||
cpt= strstr(cpt,"/.");
|
||||
|
Reference in New Issue
Block a user