embedded libmagic (from file)
| From: | Ondřej Surý | Date: | Mon, 21 Mar 2011 17:00:44 +0000 |
| Subject: | embedded libmagic (from file) | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-51735@lists.php.net to get a copy of this message | ||
Hi,
[I have searched the list and no relevant answer came up, only one
unanswered question (*)]
I would like to ask whether there is a strong reason to have
customized libmagic in the source tree as the only option. I saw the
discussion that you want to have embedded magic database, but still I
would like to have an option to use system libmagic if available.
This is similar to libgd, etc.
I know your reasoning and I respect that decision, but still the needs
of distributions (and need for longterm security support) raises this
as an issue which would be better solved by using system-wide libmagic
library.
I could hack fileinfo module myself, but I feel that this effort would
be better coordinated with upstream if possible.
What are your thoughts?
Ondrej
* - http://marc.info/?l=php-internals&m=117198246420629&w=2
--
Ondřej Surý <ondrej@sury.org>