1522 } |
1522 } |
1523 |
1523 |
1524 if(resource_set_finfo(fpath, res, finfo)) { |
1524 if(resource_set_finfo(fpath, res, finfo)) { |
1525 fprintf(stderr, "Cannot set finfo: %s.\n", strerror(errno)); |
1525 fprintf(stderr, "Cannot set finfo: %s.\n", strerror(errno)); |
1526 } |
1526 } |
1527 if(finfo & FINFO_XATTR == FINFO_XATTR) { |
1527 if((finfo & FINFO_XATTR) == FINFO_XATTR) { |
1528 XAttributes *xattr = file_get_attributes(fpath); |
1528 XAttributes *xattr = file_get_attributes(fpath); |
1529 if(xattr) { |
1529 if(xattr) { |
1530 resource_set_xattr(res, xattr); |
1530 resource_set_xattr(res, xattr); |
1531 } |
1531 } |
1532 } |
1532 } |