OSDN Git Service

Fixed the returned files types in readdir()
authorJean-Pierre André <jpandre@users.sourceforge.net>
Mon, 20 Aug 2012 12:34:16 +0000 (14:34 +0200)
committerJean-Pierre André <jpandre@users.sourceforge.net>
Mon, 20 Aug 2012 12:34:16 +0000 (14:34 +0200)
commit3e4c43952020fe91f7f7888c7d52213d49148efe
treeb86b93a8b768dbbcce217a5d41c122bb1bd24509
parent3953e929bbbda02f06a49f58bbf86ca53b0ca534
Fixed the returned files types in readdir()

The type of special files (symlinks, fifos, etc.) was not returned in
readdir() and they appeared wrongly in the field d_type of "struct dirent".
This prevented some applications which relied on d_type (which does
not exist in Solaris) from navigating in an NTFS tree.
libntfs-3g/dir.c
src/lowntfs-3g.c
src/ntfs-3g.c