php-src/ext/fileinfo
Felipe Pena ac3ae236ec - MFB:
- 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)
2008-09-07 20:29:54 +00:00
..
libmagic - MFB: 2008-09-07 20:29:54 +00:00
tests - MFB: 2008-09-07 20:29:54 +00:00
config.m4 - Fixed bug #45636 (fileinfo ext duplicate strndup). 2008-08-06 14:42:06 +00:00
config.w32 - MFB: update config to match config.m4 2008-07-31 13:14:22 +00:00
create_data_file.php - Bundle the data file - you can still use the external file if you 2008-07-24 13:40:21 +00:00
CREDITS - Updating the libmagic patch. 2008-07-25 08:17:21 +00:00
data_file.c - Bundle the data file - you can still use the external file if you 2008-07-24 13:40:21 +00:00
EXPERIMENTAL Initial commit of the fileinfo extension. 2004-02-13 01:06:06 +00:00
fileinfo.c - MFB: 2008-09-07 20:29:54 +00:00
fileinfo.php Initial commit of the fileinfo extension. 2004-02-13 01:06:06 +00:00
libmagic.patch - No C++ comments. 2008-07-25 08:18:34 +00:00
Makefile.frag - Enable fileinfo by default 2008-07-25 09:16:09 +00:00
package.xml 1.0.4 2006-11-07 21:45:20 +00:00
php_fileinfo.h - Adding back in mime_content_type(). 2008-08-29 13:29:18 +00:00