Scott MacVicar
0ac605c41b
fileinfo tests are missing skipif
2009-03-15 23:16:55 +00:00
Scott MacVicar
daf4211e0b
Update fileinfo to libmagic 5.00 and remove dependency on dirent.h on Windows
2009-03-15 23:02:35 +00:00
Scott MacVicar
a064b61971
Warnings from libmagic should be notices rather than sent to stderr, this fixes a test on Windows
2008-11-22 10:27:19 +00:00
Scott MacVicar
881c30db88
Update libmagic to 4.26 and add support for v6 of the magic file format.
2008-11-02 16:09:27 +00:00
Derick Rethans
194577d7a6
- Fixed mime-type generation.
...
#- Charset markers need to be prepended with ; -- the tests were also wrong.
2008-10-08 09:44:12 +00:00
Felix De Vliegher
c8ff440095
More fileinfo tests
2008-09-15 08:42:48 +00:00
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
Felipe Pena
ec949e90ce
- New test
2008-09-02 19:27:32 +00:00
Felipe Pena
df8cce7248
- New test
2008-09-01 23:41:34 +00:00
Felipe Pena
66019ba30c
- Fixed tests (Disable COMPRESS support for now)
2008-08-29 15:29:02 +00:00
Felix De Vliegher
872257f7cc
MFB: Some fileinfo tests
2008-08-29 10:34:34 +00:00
Scott MacVicar
808041719d
MFB: Test for fileinfo to check mime types.
2008-08-29 09:55:52 +00:00
Felipe Pena
ea5d69120d
- Fixed check for empty file name
2008-08-27 01:02:58 +00:00
Felipe Pena
2058709940
- Improved fix
2008-08-26 16:19:29 +00:00
Felipe Pena
3ade387884
- Added check for empty file name
2008-08-26 15:03:33 +00:00