Bug fix: -find test -has_xattr matched "isofs." attributes in -xattr mode "any"
This commit is contained in:
@ -837,7 +837,17 @@ int Xorriso_getfattr(struct XorrisO *xorriso, void *in_node, char *path,
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
if(flag & 64) {
|
||||
ret= (num_attrs > 0);
|
||||
if(flag & 16) {
|
||||
ret= 0;
|
||||
for(i= 0; i < (int) num_attrs; i++) {
|
||||
if(strncmp(names[i], "isofs.", 6) != 0) {
|
||||
ret= 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
ret= (num_attrs > 0);
|
||||
}
|
||||
goto ex;
|
||||
}
|
||||
if(num_attrs == 0)
|
||||
|
Reference in New Issue
Block a user