Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 396162 Details for
Bug 539702
app-admin/stow: read_a_link() does not propagate error where link cannot be resolved
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Handle unreadable links correctly in read_a_link()
stow-read-a-link-error-handling.patch (text/plain), 433 bytes, created by
kfm
on 2015-02-11 03:11:05 UTC
(
hide
)
Description:
Handle unreadable links correctly in read_a_link()
Filename:
MIME Type:
Creator:
kfm
Created:
2015-02-11 03:11:05 UTC
Size:
433 bytes
patch
obsolete
>--- Stow.pm.orig 2015-02-11 04:42:40.773534584 +0200 >+++ Stow.pm 2015-02-11 04:47:27.671244885 +0200 >@@ -1732,8 +1732,9 @@ > } > elsif (-l $path) { > debug(4, " read_a_link($path): real link"); >- return readlink $path >+ my $source = readlink $path > or error("Could not read link: $path"); >+ return $source; > } > internal_error("read_a_link() passed a non link path: $path\n"); > }
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 539702
: 396162 |
398194