mirror of
https://github.com/php/php-src.git
synced 2024-09-30 06:16:08 +00:00
ac3ae236ec
- use php's stream in libmagic - remove duplicate code (like mime_content_type() compatibility function now use the same base as finfo_file()) - make it portable (works now on windows too, belongs other OSes) - don't close caller streams in libmagic (prevent leak and zombie stream) - string returned by magic_* are freed on magic_close, duplicate before calling magic_close (set return value) - if stat failed, don't try to call magic_* (when FILEINFO_MODE_FILE) |
||
---|---|---|
.. | ||
libmagic | ||
tests | ||
config.m4 | ||
config.w32 | ||
create_data_file.php | ||
CREDITS | ||
data_file.c | ||
EXPERIMENTAL | ||
fileinfo.c | ||
fileinfo.php | ||
libmagic.patch | ||
Makefile.frag | ||
package.xml | ||
php_fileinfo.h |