Zebediah Figura (@zfigura) commented about dlls/ntdll/unix/file.c:
- else
- {
if (errno == ENOTSUP) return ret;
-#ifdef ENODATA
if (errno == ENODATA) return ret;
+#ifdef HAVE_LINUX_MSDOS_FS_H
- /* try retrieving FAT file attributes */
- get_fat_dos_attrib( path, attr );
#endif
WARN( "Failed to get extended attribute " SAMBA_XATTR_DOS_ATTRIB " from \"%s\". errno %d (%s)\n",
path, errno, strerror( errno ) );
- }
- /* try retrieving DOS attributes from extended attributes */
- get_xattr_dos_attrib( path, attr );
Same here, why try both methods?