mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-09 00:22:36 +02:00
Greatly improve /proc/PID/stack by tracing the ebp frame chain.
I also added a generator cache to FileHandle. This way, multiple reads to a generated file (i.e in a synthfs) can transparently handle multiple calls to read() without the contents changing between calls. The cache is discarded at EOF (or when the FileHandle is destroyed.)
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 18:37:57 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/2716a9e2d7c
@@ -5,5 +5,5 @@ ByteBuffer InodeIdentifier::readEntireFile() const
|
||||
{
|
||||
if (!fileSystem())
|
||||
return { };
|
||||
return fileSystem()->readEntireInode(*this);
|
||||
return fileSystem()->readEntireInode(*this, nullptr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user