FreeBSD Bugzilla – Attachment 162301 Details for
Bug 203366
kevent: EV_CLEAR on fifo does not work correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
fifo_ev_clear_fix.patch (text/plain), 591 bytes, created by
Marko Turk
on 2015-10-21 18:28:40 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Marko Turk
Created:
2015-10-21 18:28:40 UTC
Size:
591 bytes
patch
obsolete
>Index: sys/kern/sys_pipe.c >=================================================================== >--- sys/kern/sys_pipe.c (revision 289679) >+++ sys/kern/sys_pipe.c (working copy) >@@ -1791,9 +1791,10 @@ > if ((kn->kn_data == 0) && (rpipe->pipe_state & PIPE_DIRECTW)) > kn->kn_data = rpipe->pipe_map.cnt; > >- if ((rpipe->pipe_state & PIPE_EOF) || >+ if (!(kn->kn_flags & EV_CLEAR) && >+ ((rpipe->pipe_state & PIPE_EOF) || > wpipe->pipe_present != PIPE_ACTIVE || >- (wpipe->pipe_state & PIPE_EOF)) { >+ (wpipe->pipe_state & PIPE_EOF))) { > kn->kn_flags |= EV_EOF; > return (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 203366
: 162301 |
167574
|
188967
|
190730