Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 895986 Details for
Bug 934477
sys-apps/install-xattr: be more verbose on setxattr()/getxattr() errors
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-install-xattr-be-more-verbose-one-errors-include-pat.patch
0001-install-xattr-be-more-verbose-one-errors-include-pat.patch (text/plain), 1.10 KB, created by
Florian Schmaus
on 2024-06-17 20:21:44 UTC
(
hide
)
Description:
0001-install-xattr-be-more-verbose-one-errors-include-pat.patch
Filename:
MIME Type:
Creator:
Florian Schmaus
Created:
2024-06-17 20:21:44 UTC
Size:
1.10 KB
patch
obsolete
>From 14e41611d6838d2b19dd0148a1ab206336f2286a Mon Sep 17 00:00:00 2001 >From: Florian Schmaus <flow@gentoo.org> >Date: Mon, 17 Jun 2024 22:17:16 +0200 >Subject: [PATCH] install-xattr: be more verbose one errors, include path (and > xattrs) > >Signed-off-by: Florian Schmaus <flow@gentoo.org> >--- > misc/install-xattr/install-xattr.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/misc/install-xattr/install-xattr.c b/misc/install-xattr/install-xattr.c >index 1f53273066dd..1799f7d7faa5 100644 >--- a/misc/install-xattr/install-xattr.c >+++ b/misc/install-xattr/install-xattr.c >@@ -90,7 +90,7 @@ xgetxattr(const char *path, char *list, char *value, size_t size) > { > ssize_t ret = getxattr(path, list, value, size); > if (ret < 0) >- err(1, "getxattr() failed"); >+ err(1, "getxattr() failed on %s", path); > return ret; > } > >@@ -99,7 +99,7 @@ xsetxattr(const char *path, char *list, char *value, size_t size) > { > ssize_t ret = setxattr(path, list, value, size, 0); > if (ret < 0) >- err(1, "setxattr() failed"); >+ err(1, "setxattr() failed setting %s=%s on %s", list, value, path); > return ret; > } > >-- >2.44.2 >
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 934477
: 895986