+2000-09-24 Ulrich Drepper <drepper@redhat.com>
+
+ * elf/ldconfig.c (search_dir): Make more use of d_type
+ information.
+
+2000-09-23 Ulrich Drepper <drepper@redhat.com>
+
+ * stdio-common/printf-parse.h (parse_one_spec): Clear
+ spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
+
2000-09-18 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
entry->path, direntry->d_name);
continue;
}
- if (lstat (buf, &stat_buf))
- {
- error (0, errno, _("Can't lstat %s"), buf);
- continue;
- }
- else if (S_ISDIR (stat_buf.st_mode) && is_hwcap (direntry->d_name))
+#ifdef _DIRENT_HAVE_D_TYPE
+ if (direntry->d_type != DT_UNKNOWN)
+ stat_buf.st_mode = DTTOIF (direntry->d_type);
+ else
+#endif
+ if (lstat (buf, &stat_buf))
+ {
+ error (0, errno, _("Can't lstat %s"), buf);
+ continue;
+ }
+
+ if (S_ISDIR (stat_buf.st_mode) && is_hwcap (direntry->d_name))
{
/* Handle subdirectory also, make a recursive call. */
struct dir_entry new_entry;