Make behaviour consistent among various versions of libmagic adhering to the POSIX standard.
Make behaviour consistent among various versions of libmagic adhering to the POSIX standard.

This concerns the following IEEE 1003.1 standards:

  http://pubs.opengroup.org/onlinepubs/007904975/utilities/file.html
  http://pubs.opengroup.org/onlinepubs/9699919799/utilities/file.html

Signed-off-by: Krzysztof Wilczynski <9bf091559fc98493329f7d619638c79e91ccf029@linux.com>

kwilczynski/ruby-magic,kwilczynski/ruby-magic