fileio: fail early if we can't return the number of bytes we read anymore in an int
authorLennart Poettering <lennart@poettering.net>
Fri, 14 Dec 2018 11:56:12 +0000 (12:56 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 14 Dec 2018 11:56:12 +0000 (12:56 +0100)
commit31fd02f00977720c20c9cdd74342697b593dee9b
treea683bf56ff7d175fe65535a3b53d3f9fc543edb8
parent58d9d89b4b41189bdcea86c2ad5cf708b7d54aca
fileio: fail early if we can't return the number of bytes we read anymore in an int

This is mostly paranoia, but let's better be safer than sorry. This of
course means there's always an implicit limit to how much we can read at
a time of 2G. But that should be ample.
src/basic/fileio.c