Commit 3547b122b57f4aafd173013d7f82e326b9cffb24

Carlos Martín Nieto 2015-10-30T21:36:51

filebuf: use an internal buffer This reduces the chances of a crash in the thread tests. This shouldn't affect general usage too much, since the main usage of these functions are to read into an empty buffer.