Make things a little less confusing by making fill_buffer self-contained
authornicm <nicm@openbsd.org>
Fri, 29 May 2015 11:59:01 +0000 (11:59 +0000)
committernicm <nicm@openbsd.org>
Fri, 29 May 2015 11:59:01 +0000 (11:59 +0000)
commitb316a71a8280910ee996c73ce85e0859ff066943
tree96f014414ed7713d5d6ac471efb54c1b9bcba915
parent4386af0298465a1cc8ed42dc07522f625ece3540
Make things a little less confusing by making fill_buffer self-contained
and return both the buffer and amount filled rather than having it
modify the input struct and return a value.
usr.bin/file/file.c