mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-16 14:32:18 +00:00
Kernel: Let's also not reverse the blocking flag for FIONBIO..
This commit is contained in:
parent
0f270afda8
commit
497c4c3858
Notes:
sideshowbarker
2024-07-18 20:59:19 +09:00
Author: https://github.com/awesomekling
Commit: 497c4c3858
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ KResultOr<int> Process::sys$ioctl(int fd, unsigned request, FlatPtr arg)
|
||||||
if (!description)
|
if (!description)
|
||||||
return EBADF;
|
return EBADF;
|
||||||
if (request == FIONBIO) {
|
if (request == FIONBIO) {
|
||||||
description->set_blocking(arg != 0);
|
description->set_blocking(arg == 0);
|
||||||
return KSuccess;
|
return KSuccess;
|
||||||
}
|
}
|
||||||
return description->file().ioctl(*description, request, arg);
|
return description->file().ioctl(*description, request, arg);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue