Xcursor: Don't ignore unknown file types
authorDaniel Stone <daniel@fooishbar.org>
Mon, 18 Jun 2012 19:01:05 +0000 (20:01 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 18 Jun 2012 19:15:11 +0000 (15:15 -0400)
commit61260854ec92a43e4e0f5cf1469eecbe404eac5a
treeee44130db67460ffc08c451a8c903ac05bfe5289
parentc806dde7e61f4d06564bd3acf74dbba6cfa328c6
Xcursor: Don't ignore unknown file types

XFS doesn't return the file type with opendir(), and instead only
returns it when you stat() the file itself.  c66f2602 introduced a check
to ensure that only files and symlinks were loaded, while not checking
for DT_UNKNOWN.  Properly handle DT_UNKNOWN by just proceeding anyway.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
cursor/xcursor.c