[PATCH] Don't warn about stale .so symlinks during ldconfig
Jakub Jelinek
jakub@redhat.com
Sat Sep 16 12:23:00 GMT 2000
Hi!
ldconfig should not warn about stale .so symlinks (it already does not warn
about stale .so.* symlinks).
2000-09-16 Jakub Jelinek <jakub@redhat.com>
* elf/readlib.c (process_file): Don't error for stale .so links
either.
--- libc/elf/readlib.c.jj Sat Sep 16 15:22:20 2000
+++ libc/elf/readlib.c Sat Sep 16 21:24:14 2000
@@ -87,7 +87,7 @@ process_file (const char *file_name, con
if (file == NULL)
{
/* No error for stale symlink. */
- if (is_link && strstr (file_name, ".so.") != NULL)
+ if (is_link && strstr (file_name, ".so") != NULL)
return 1;
error (0, 0, _("Input file %s not found.\n"), file_name);
return 1;
Jakub
More information about the Libc-hacker
mailing list