]> git.pld-linux.org Git - packages/glibc.git/blob - glibc-ldconfig-bklinks.patch
- release 3.
[packages/glibc.git] / glibc-ldconfig-bklinks.patch
1 diff -Nru glibc-2.2.4.orig/elf/ldconfig.c glibc-2.2.4/elf/ldconfig.c
2 --- glibc-2.2.4.orig/elf/ldconfig.c     Mon Jul 23 19:53:40 2001
3 +++ glibc-2.2.4/elf/ldconfig.c  Wed Jan 30 13:13:09 2002
4 @@ -697,8 +697,11 @@
5              a directory. */
6           if (__builtin_expect (stat64 (real_file_name, &stat_buf), 0))
7             {
8 -             if (opt_verbose)
9 -               error (0, errno, _("Cannot stat %s"), file_name);
10 +             if (strstr (file_name, ".so") != NULL)
11 +               unlink (real_file_name);
12 +             else
13 +               if (opt_verbose)
14 +                 error (0, errno, _("Cannot stat %s"), file_name);
15               continue;
16             }
17           is_dir = S_ISDIR (stat_buf.st_mode);
This page took 0.027842 seconds and 3 git commands to generate.