The Samba-Bugzilla – Attachment 7898 Details for
Bug 8107
lib/replace/poll.c needs additional includes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
8107.patch (text/plain), 666 bytes, created by
Volker Lendecke
on 2012-09-17 12:29:09 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2012-09-17 12:29:09 UTC
Size:
666 bytes
patch
obsolete
>From ff58c97e5738365a08a429984414cf75fece92eb Mon Sep 17 00:00:00 2001 >From: Joachim Schmitz <schmitz@hp.com> >Date: Mon, 17 Sep 2012 05:26:31 -0700 >Subject: [PATCH] libreplace: Bug 8107, Fix poll replacement to become a > msleep replacement > >--- > lib/replace/poll.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/lib/replace/poll.c b/lib/replace/poll.c >index e41548d..51a89e8 100644 >--- a/lib/replace/poll.c >+++ b/lib/replace/poll.c >@@ -40,7 +40,7 @@ int rep_poll(struct pollfd *fds, nfds_t nfds, int timeout) > int rc; > nfds_t i; > >- if (fds == NULL) { >+ if ((fds == NULL) && (nfds != 0)) { > errno = EFAULT; > return -1; > } >-- >1.7.9.5 >
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 Raw
Actions:
View
Attachments on
bug 8107
:
7898
|
8015