Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 508052 | Differences between
and this patch

Collapse All | Expand All

(-)glibc-2.19/elf/ldconfig.c (-1 / +1 lines)
Lines 800-806 search_dir (const struct dir_entry *entr Link Here
800
		error (0, errno, _("Cannot stat %s"), file_name);
800
		error (0, errno, _("Cannot stat %s"), file_name);
801
801
802
	      /* Remove stale symlinks.  */
802
	      /* Remove stale symlinks.  */
803
	      if (strstr (direntry->d_name, ".so."))
803
	      if (errno == ENOENT && do_remove && strstr (direntry->d_name, ".so."))
804
		unlink (real_file_name);
804
		unlink (real_file_name);
805
	      continue;
805
	      continue;
806
	    }
806
	    }

Return to bug 508052