Improved handling of dead symbolic links in aaip_get_attr_list()
This commit is contained in:
parent
7fc7d65e05
commit
290ef77254
@ -451,7 +451,8 @@ try_lfa_flags:;
|
|||||||
#ifdef Libisofs_with_aaip_lfa_flagS
|
#ifdef Libisofs_with_aaip_lfa_flagS
|
||||||
|
|
||||||
if(!(flag & 64)) {
|
if(!(flag & 64)) {
|
||||||
ret= aaip_get_lfa_flags(path, &lfa_flags, &max_bit, &os_errno, 0);
|
/* ( aaip_get_lfa_flags() does not gracefully handle dead symbolic links) */
|
||||||
|
ret= iso_local_get_lfa_flags(path, &lfa_flags, &max_bit, &os_errno, 0);
|
||||||
if(ret == 1 || ret == 2) {
|
if(ret == 1 || ret == 2) {
|
||||||
ret= aaip_encode_lfa_flags(lfa_flags, lfa_value, &lfa_length, 0);
|
ret= aaip_encode_lfa_flags(lfa_flags, lfa_value, &lfa_length, 0);
|
||||||
if(ret > 0) {
|
if(ret > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user