Browse source

Changelog

Query
From:
To:
Branch:
Path:
Message:
BugID:
User: +
Format:
: 5 checkins (+294/-120) by Tobias S. Josefowitz <tobij@tobij.de> Lines added/removed recently

Sunday 04 November 2018

2018-11-04 11:50:40 (2 weeks ago) by Tobias S. Josefowitz <tobij@tobij.de>

Stdio.File()->read(): advance buffer if possible

This commit also removed Stdio.Buffer()->advance() because it
is a bad API. It allows one to 'validate' uninitialized memory
inside of Stdio.Buffer objects.

Instead, we now try to advance the write offset in Buffer objects
in Stdio.File()->read(), instead. This is done using a new internal
API which can be extended to advance other buffer types in the future.

[permalink]

Bugs? Suggestions?