projects
/
platform
/
upstream
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a69b567
)
ports: 'scm_port_poll' honors "w" flags.
author
Ludovic Courtès
<ludo@gnu.org>
Mon, 18 Nov 2019 14:14:56 +0000
(15:14 +0100)
committer
Ludovic Courtès
<ludo@gnu.org>
Mon, 18 Nov 2019 14:14:56 +0000
(15:14 +0100)
Fixes <https://bugs.gnu.org/36709>.
Reported by Mark H Weaver <mhw@netris.org>.
* libguile/ports.c (scm_port_poll): Replace second POLLIN by POLLOUT.
libguile/ports.c
patch
|
blob
|
history
diff --git
a/libguile/ports.c
b/libguile/ports.c
index 45e62f4e4531b919facfdbc1742c469e0a497772..0084f0c37ea77b293360e29cd60be84e40c1808c 100644
(file)
--- a/
libguile/ports.c
+++ b/
libguile/ports.c
@@
-1440,7
+1440,7
@@
SCM_DEFINE (scm_port_poll, "port-poll", 2, 1, 0,
if (scm_i_string_contains_char (events, '!'))
c_events |= POLLPRI;
if (scm_i_string_contains_char (events, 'w'))
- c_events |= POLL
IN
;
+ c_events |= POLL
OUT
;
scm_dynwind_begin (0);
scm_dynwind_acquire_port (port);