Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
4e82e61e
Commit
4e82e61e
authored
Mar 12, 2001
by
Niels Möller
Browse files
(io_iter): Handle POLLERR.
Rev: src/io.c:1.127
parent
dac122b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/io.c
View file @
4e82e61e
...
...
@@ -379,6 +379,19 @@ int io_iter(struct io_backend *b)
}
#endif
/* POLLHUP */
#ifdef POLLERR
if
(
fds
[
i
].
revents
&
POLLERR
)
{
werror
(
"io.c: POLLERR. Hanging up.
\n
"
);
/* FIXME: Should we raise any exception here? */
close_fd
(
fd
);
continue
;
}
#endif
/* POLLERR */
#ifdef POLLPRI
if
(
fds
[
i
].
revents
&
POLLPRI
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment