mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
libc: return true on writefd checks in select on sockets
Instead of files we have to check this condition on sockets but technically our sockets are regular files as well...
This commit is contained in:
parent
dbec8d7710
commit
b361de8379
@ -889,7 +889,7 @@ int Socket_fs::Plugin::select(int nfds,
|
||||
}
|
||||
|
||||
if (FD_ISSET(fd, &in_writefds)) {
|
||||
if (false /* XXX ask if "data" is writeable */) {
|
||||
if (true /* XXX ask if "data" is writeable */) {
|
||||
FD_SET(fd, writefds);
|
||||
++nready;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user