Enabled for -findx: tests -has_lfa_flags and -has_some_lfa_flags_of, action lsattrd
This commit is contained in:
@ -2919,6 +2919,7 @@ int Xorriso_warn_if_not_bootcat(struct XorrisO *xorriso, char *prefix,
|
||||
@param in_node if not NULL and not flag bit1: omit path resolution
|
||||
@param flag bit1= path is disk_path
|
||||
bit5= in case of symbolic link on disk: inquire link target
|
||||
bit7= Ignore non-settable Linux-like file attribute flags
|
||||
@return >0 = ok ,
|
||||
0 = no lfa_flags at node or disk file,
|
||||
<0 = libisofs error
|
||||
@ -2953,7 +2954,8 @@ int Xorriso_get_lfa_flags(struct XorrisO *xorriso, void *in_node, char *path,
|
||||
return(1);
|
||||
|
||||
from_disk:;
|
||||
ret= iso_local_get_lfa_flags(path, lfa_flags, max_bit, &os_errno, flag & 32);
|
||||
ret= iso_local_get_lfa_flags(path, lfa_flags, max_bit, &os_errno,
|
||||
flag & ((1 << 5) | (1 << 7)));
|
||||
if(ret < 0) {
|
||||
Xorriso_process_msg_queues(xorriso, 0);
|
||||
Xorriso_report_iso_error(xorriso, path, ret,
|
||||
|
Reference in New Issue
Block a user