Skip to content
Snippets Groups Projects
Commit 51f072c8 authored by Mann mit Hut's avatar Mann mit Hut Committed by Julian Ospald
Browse files

Fixed: Return DT_UNKNOWN if dirent does not support d_type

parent 46f275e2
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ char __hscore_d_type( struct dirent* d )
#ifdef HAVE_DIRENT_D_TYPE
return (d->d_type);
#else
return 0;
return CONST_DT_UNKNOWN;
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment