Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 45879 Details for
Bug 74080
OpenNTPD 3.6.1p1 released
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
3.6.1_p1-pollerr.patch
3.6.1_p1-pollerr.patch (text/plain), 1.19 KB, created by
Christian Gut
on 2004-12-12 23:35:50 UTC
(
hide
)
Description:
3.6.1_p1-pollerr.patch
Filename:
MIME Type:
Creator:
Christian Gut
Created:
2004-12-12 23:35:50 UTC
Size:
1.19 KB
patch
obsolete
>Index: ntp.c >=================================================================== >RCS file: /usr/local/cvs/openntpd-portable/ntp.c,v >retrieving revision 1.25 >diff -u -p -r1.25 ntp.c >--- ntp.c 4 Dec 2004 00:06:34 -0000 1.25 >+++ ntp.c 12 Dec 2004 00:55:51 -0000 >@@ -228,27 +228,27 @@ ntp_main(int pipe_prnt[2], struct ntpd_c > ntp_quit = 1; > } > >- if (nfds > 0 && (pfd[PFD_PIPE_MAIN].revents & POLLOUT)) >+ if (nfds > 0 && (pfd[PFD_PIPE_MAIN].revents & (POLLOUT|POLLERR))) > if (msgbuf_write(&ibuf_main->w) < 0) { > log_warn("pipe write error (to parent)"); > ntp_quit = 1; > } > >- if (nfds > 0 && pfd[PFD_PIPE_MAIN].revents & POLLIN) { >+ if (nfds > 0 && pfd[PFD_PIPE_MAIN].revents & (POLLIN|POLLERR)) { > nfds--; > if (ntp_dispatch_imsg() == -1) > ntp_quit = 1; > } > > for (j = 1; nfds > 0 && j < idx_peers; j++) >- if (pfd[j].revents & POLLIN) { >+ if (pfd[j].revents & (POLLIN|POLLERR)) { > nfds--; > if (server_dispatch(pfd[j].fd, conf) == -1) > ntp_quit = 1; > } > > for (; nfds > 0 && j < i; j++) >- if (pfd[j].revents & POLLIN) { >+ if (pfd[j].revents & (POLLIN|POLLERR)) { > nfds--; > if (client_dispatch(idx2peer[j - idx_peers], > conf->settime) == -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 74080
:
45729
|
45731
|
45732
|
45876
|
45877
| 45879