Good spot - fixed, thanks.
On Fri, May 29, 2015 at 12:27:19PM +0200, S??bastien Marie wrote:
> Hi,
>
> While working on file(1) for permit standard input type determination, I
> investigate why when /dev/stdin is used, the output was 'data'.
>
> It seems that the fill_buffer function don't adju
Hi,
While working on file(1) for permit standard input type determination, I
investigate why when /dev/stdin is used, the output was 'data'.
It seems that the fill_buffer function don't adjust inf->size to readed
buffer. So the test_file function may operate on larger buffer than
expected, consid