mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 23:09:08 +00:00
Rename CharacterDevice::has_data_available_for_reading() -> can_read().
This commit is contained in:
parent
10387beda7
commit
08bfe518f9
Notes:
sideshowbarker
2024-07-19 16:01:54 +09:00
Author: https://github.com/awesomekling
Commit: 08bfe518f9
23 changed files with 24 additions and 24 deletions
|
@ -183,7 +183,7 @@ bool FileDescriptor::has_data_available_for_reading(Process& process)
|
|||
return m_fifo->can_read();
|
||||
}
|
||||
if (m_vnode->isCharacterDevice())
|
||||
return m_vnode->characterDevice()->has_data_available_for_reading(process);
|
||||
return m_vnode->characterDevice()->can_read(process);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue