Handle DT_UNKNOWN in gconv-modules.d
commitf3629a4be82a393ff56646c388da2fda0101f557
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 10 Jun 2021 09:26:37 +0000 (10 14:56 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Wed, 23 Jun 2021 03:24:13 +0000 (23 08:54 +0530)
tree56ec81789eccffcb00f77bf7a9fccf3c98cdc242
parenteeac390eecf7de24a110dc84e77e1190f42c5305
Handle DT_UNKNOWN in gconv-modules.d

On filesystems that do not support dt_type, a regular file shows up as
DT_UNKNOWN.  Fall back to using lstat64 to read file properties in
such cases.

Reviewed-by: DJ Delorie <dj@redhat.com>
iconv/gconv_parseconfdir.h