mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
Kernel: Allow File::close() to fail
And pass the result through to sys$close() return value. Fixes https://github.com/SerenityOS/serenity/issues/427
This commit is contained in:
parent
d4ddb0013c
commit
1b4e88fb59
Notes:
sideshowbarker
2024-07-19 05:52:57 +09:00
Author: https://github.com/bugaevc
Commit: 1b4e88fb59
Pull-request: https://github.com/SerenityOS/serenity/pull/2482
12 changed files with 23 additions and 15 deletions
|
@ -165,7 +165,7 @@ public:
|
|||
void release_to_originator();
|
||||
void release_for_accept(RefPtr<TCPSocket>);
|
||||
|
||||
virtual void close() override;
|
||||
virtual KResult close() override;
|
||||
|
||||
protected:
|
||||
void set_direction(Direction direction) { m_direction = direction; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue