1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:57:35 +00:00

LibCore: Fix relative seeking in IODevice

The recently introduced read buffer in IODevice broke relative seeking.
The amount of data in the buffer wouldn't get taken into account.
This commit is contained in:
Arne Elster 2021-11-29 19:56:29 +01:00 committed by Andreas Kling
parent b818d4c7e3
commit cdaa179eeb
4 changed files with 35 additions and 1 deletions

View file

@ -9,4 +9,4 @@ foreach(source IN LISTS TEST_SOURCES)
serenity_test("${source}" LibCore)
endforeach()
install(FILES long_lines.txt DESTINATION usr/Tests/LibCore)
install(FILES long_lines.txt 10kb.txt DESTINATION usr/Tests/LibCore)