Enabled more tests for findx: -has_acl, -has_xattr, -has_any_xattr, -disk_name, -disk_path, -bad_outname, -size
This commit is contained in:
@ -823,6 +823,7 @@ too_long:
|
||||
bit5= in case of symbolic link on disk: inquire link target
|
||||
bit6= check for existence of xattr, return 0 or 1
|
||||
(depends also on bit3)
|
||||
bit7= ignore bit10 of xorriso->do_aaip (i.e. no -xattr any)
|
||||
*/
|
||||
int Xorriso_getfattr(struct XorrisO *xorriso, void *in_node, char *path,
|
||||
char **attr_text, int flag)
|
||||
@ -833,7 +834,7 @@ int Xorriso_getfattr(struct XorrisO *xorriso, void *in_node, char *path,
|
||||
|
||||
if(attr_text != NULL)
|
||||
*attr_text= NULL;
|
||||
if((xorriso->do_aaip & 1024) && !(flag & 8))
|
||||
if((xorriso->do_aaip & 1024) && !((flag & 8) || (flag & 128)))
|
||||
flag|= 8 | 16;
|
||||
ret= Xorriso_get_attrs(xorriso, in_node, path, &num_attrs, &names,
|
||||
&value_lengths, &values, flag & (2 | 8 | 32));
|
||||
|
Reference in New Issue
Block a user