Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 380072 Details for
Bug 508052
dev-libs/xapian-1.3.1-r1 with app-backup/tsm-7.1.0.0 - sandbox violation in /opt/tivoli? by ?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Make ldconfig less eager to unlink stuff
gentoo508052b.patch (text/plain), 834 bytes, created by
Martin von Gagern
on 2014-07-02 12:21:18 UTC
(
hide
)
Description:
Make ldconfig less eager to unlink stuff
Filename:
MIME Type:
Creator:
Martin von Gagern
Created:
2014-07-02 12:21:18 UTC
Size:
834 bytes
patch
obsolete
>ldconfig: be more conservative when removing stale symlinks: >* Only do so if the referenced file does not exist, not if there was some > other error accessing it. >* Never remove symlinks if the -X option was given. > >References: >* https://sourceware.org/bugzilla/show_bug.cgi?id=16871 >* https://bugs.gentoo.org/show_bug.cgi?id=508052 > >Index: glibc-2.19/elf/ldconfig.c >=================================================================== >--- glibc-2.19.orig/elf/ldconfig.c >+++ glibc-2.19/elf/ldconfig.c >@@ -800,7 +800,7 @@ search_dir (const struct dir_entry *entr > error (0, errno, _("Cannot stat %s"), file_name); > > /* Remove stale symlinks. */ >- if (strstr (direntry->d_name, ".so.")) >+ if (errno == ENOENT && do_remove && strstr (direntry->d_name, ".so.")) > unlink (real_file_name); > continue; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 508052
:
375244
| 380072