1 --- ldconfig-970926/ldconfig.c.ewt Tue Oct 21 13:44:27 1997
2 +++ ldconfig-970926/ldconfig.c Tue Oct 21 13:45:37 1997
4 *islink = S_ISLNK(statbuf.st_mode);
6 /* then try opening it */
7 - if (!(file = fopen(buff, "rb")))
8 - warn("can't open %s (%s), skipping", buff, strerror(errno));
9 + if (!(file = fopen(buff, "rb"))) {
11 + if (strstr(buff, ".so."))
14 + warn("can't open %s (%s), skipping", buff, strerror(errno));
19 /* now make sure it's a shared library */