28 Sep
2022
28 Sep
'22
8:42 p.m.
On 9/28/22 07:35, Erich E. Hoover wrote:
@@ -1505,6 +1540,11 @@ static int get_file_info( const char *path, struct stat *st, ULONG *attr ) free( parent_path ); } *attr |= get_file_attributes( st ); + + len = xattr_get( path, SAMBA_XATTR_DOS_ATTRIB, hexattr, sizeof(hexattr)-1 ); + if (len != -1) + *attr |= get_file_xattr( hexattr, len ); + return ret; }
Should we WARN or ERR if we get something other than ENODATA or ENOTSUP?