fileio: try to read one byte too much in read_full_stream()
Let's read one byte more than the file size we read from stat() on the first fread() invocation. That way, the first read() will already be short and indicate eof to fread(). This is a minor optimization, and replaces #3908.
Loading
Please register or sign in to comment