Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 465796 Details for
Bug 608152
=net-fs/nfs-utils-1.3.4-r1 stabilization
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch nfs-utils to build with newer libevent
libevent.patch (text/plain), 1006 bytes, created by
Joakim Tjernlund
on 2017-03-03 08:54:19 UTC
(
hide
)
Description:
Patch nfs-utils to build with newer libevent
Filename:
MIME Type:
Creator:
Joakim Tjernlund
Created:
2017-03-03 08:54:19 UTC
Size:
1006 bytes
patch
obsolete
>From 178ae731618d46b5df1ab227dfa0c96920c675df Mon Sep 17 00:00:00 2001 >From: Steve Dickson <steved@redhat.com> >Date: Fri, 23 Jan 2015 08:58:05 -0500 >Subject: [PATCH] rpc.idmap: Use event_initialized() to check if event is > initialized > >Using EVLIST_INIT directly is bound to break. This seems to be a >leftover from legacy code. > >Reported-by: Holger Hoffstatte <holger.hoffstaette@googlemail.com> >Signed-off-by: Steve Dickson <steved@redhat.com> >--- > utils/idmapd/idmapd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/utils/idmapd/idmapd.c b/utils/idmapd/idmapd.c >index c02849b..4246466 100644 >--- a/utils/idmapd/idmapd.c >+++ b/utils/idmapd/idmapd.c >@@ -716,7 +716,7 @@ nfsdreopen_one(struct idmap_client *ic) > xlog_warn("ReOpening %s", ic->ic_path); > > if ((fd = open(ic->ic_path, O_RDWR, 0)) != -1) { >- if ((ic->ic_event.ev_flags & EVLIST_INIT)) >+ if ((event_initialized(&ic->ic_event))) > event_del(&ic->ic_event); > if (ic->ic_fd != -1) > close(ic->ic_fd); >-- >1.8.3.1 >
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 608152
: 465796 |
465798