Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 465450 Details for
Bug 611158
unionfs-fuse 0.24 wont compile, here's a patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch that adds a patch to genkernel for unionfs-fuse 0.24
0001-unionfs-fuse-Fix-bug-with-a-memset-call.patch (text/plain), 1.18 KB, created by
Damien Zammit
on 2017-02-28 02:22:23 UTC
(
hide
)
Description:
Patch that adds a patch to genkernel for unionfs-fuse 0.24
Filename:
MIME Type:
Creator:
Damien Zammit
Created:
2017-02-28 02:22:23 UTC
Size:
1.18 KB
patch
obsolete
>From ae84d1ba0cb8d36a6e5d3460657c832ac1ce19c9 Mon Sep 17 00:00:00 2001 >From: Damien Zammit <damien@zamaudio.com> >Date: Tue, 28 Feb 2017 13:11:38 +1100 >Subject: [PATCH] unionfs-fuse: Fix bug with a memset call > >Adds a patch to unionfs-fuse > >Signed-off-by: Damien Zammit <damien@zamaudio.com> >--- > patches/unionfs-fuse/0.24/unionfs-0.24-memsetbug.patch | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > create mode 100644 patches/unionfs-fuse/0.24/unionfs-0.24-memsetbug.patch > >diff --git a/patches/unionfs-fuse/0.24/unionfs-0.24-memsetbug.patch b/patches/unionfs-fuse/0.24/unionfs-0.24-memsetbug.patch >new file mode 100644 >index 0000000..95de5e2 >--- /dev/null >+++ b/patches/unionfs-fuse/0.24/unionfs-0.24-memsetbug.patch >@@ -0,0 +1,13 @@ >+diff --git a/src/unionfs.c b/src/unionfs.c >+index 56d50dc..b327ccf 100644 >+--- a/src/unionfs.c >++++ b/src/unionfs.c >+@@ -179,7 +179,7 @@ static int unionfs_getattr(const char *path, struct stat *stbuf) { >+ DBG_IN(); >+ >+ if (uopt.stats_enabled && strcmp(path, STATS_FILENAME) == 0) { >+- memset(stbuf, 0, sizeof(stbuf)); >++ memset(stbuf, 0, sizeof(*stbuf)); >+ stbuf->st_mode = S_IFREG | 0444; >+ stbuf->st_nlink = 1; >+ stbuf->st_size = STATS_SIZE; >-- >2.9.3 >
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 611158
: 465450