EINA_FILE_DIR, /**< Directory type */
EINA_FILE_BLK, /**< Block device type (unused on Windows) */
EINA_FILE_REG, /**< Regular file type */
- EINA_FILE_LNK, /**< Symbolic link type */
+ EINA_FILE_LNK, /**< Symbolic link type (unused on Windows) */
EINA_FILE_SOCK, /**< UNIX domain socket type (unused on Windows) */
EINA_FILE_WHT /**< Whiteout file type (unused on Windows) */
} Eina_File_Type;
if (attr & FILE_ATTRIBUTE_DIRECTORY)
it->info.type = EINA_FILE_DIR;
- else if (attr & FILE_ATTRIBUTE_REPARSE_POINT)
- it->info.type = EINA_FILE_LNK;
else if (attr & (FILE_ATTRIBUTE_ARCHIVE |
FILE_ATTRIBUTE_COMPRESSED |
FILE_ATTRIBUTE_HIDDEN |
FILE_ATTRIBUTE_NORMAL |
FILE_ATTRIBUTE_SPARSE_FILE |
- FILE_ATTRIBUTE_TEMPORARY))
+ FILE_ATTRIBUTE_TEMPORARY |
+ FILE_ATTRIBUTE_REPARSE_POINT))
it->info.type = EINA_FILE_REG;
else
it->info.type = EINA_FILE_UNKNOWN;
if (stat64(info->path, &buf))
{
- if (info->type != EINA_FILE_LNK)
- info->type = EINA_FILE_UNKNOWN;
+ info->type = EINA_FILE_UNKNOWN;
return -1;
}