Path to this page:
Subject: CVS commit: pkgsrc/devel/p5-File-LibMagic
From: Makoto Fujiwara
Date: 2015-03-15 15:08:05
Message id: 20150315140805.DE1C098@cvs.netbsd.org
Log Message:
Update 1.10 to 1.12
-------------------
1.12 2015-03-07
- The constructor now accepts named params. In addition to a magic_file param,
it now accepts follow_symlinks and uncompress params. These do what you'd
expect, tell the object to follow symlinks and/or uncompress files when
getting info from them. The old single parameter constructor is still
supported, but is no longer documented.
- The old APIs are now called "discouraged" rather than \
"deprecated" in the
documentation. I have no plan to remove these APIs any time soon or to make
them warn, so "deprecated" was too strong a word.
- Changed a test to hopefully skip rather than fail on OpenBSD systems.
1.11 2015-03-01
- The info_from_handle() method did not handle binary data correctly, which
could lead to incorrect results.
- The info_from_*() methods returned a full mime type with encoding in the
"mime_type" key rather than just the mime type alone.
- Allow File::LibMagic->new() to accept an array reference containing multiple
magic file paths.
Files: