This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] Don't warn about stale .so symlinks during ldconfig


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]