Commit Graph

39 Commits

Author SHA1 Message Date
Antony Dovgal
1133a7c224 use "r" instead of "z" when accepting resources 2008-07-24 15:07:37 +00:00
Antony Dovgal
231bafaade we don't do fstat, hence st struct is uninitalized 2008-07-24 14:53:59 +00:00
Antony Dovgal
54e1d048cd silence compile warning 2008-07-24 14:45:53 +00:00
Antony Dovgal
8e24e64882 fix folding 2008-07-24 14:44:15 +00:00
Antony Dovgal
29bb0c9dd3 drop freeing of uninitialized variable
add missing return
nuke unused variable
2008-07-24 14:30:58 +00:00
Antony Dovgal
77149f12d1 do not include libmagic/file.c into the build 2008-07-24 14:22:30 +00:00
Derick Rethans
8c8b504bc4 - Bundle the data file - you can still use the external file if you
specify that in the call to finfo_open().
2008-07-24 13:40:21 +00:00
Jani Taskinen
f58f634618 - Enable bundled library 2008-07-11 14:49:45 +00:00
Derick Rethans
74947e562e - Move lib to libmagic 2008-07-11 14:13:50 +00:00
Derick Rethans
90f11b47df - Step one for bundling the libmagic library. Some config.m4 issues left. 2008-07-11 14:10:50 +00:00
Steph Fox
d834c32dea - Bring the majority of PECL extensions into line with macro/x.x.x versioning.
- Please use the -dev tag during the development cycle so that snapshots can easily be distinguished from releases.
2008-03-31 09:37:51 +00:00
Ilia Alshanetsky
1d1c68b728 1.0.4 2006-11-07 21:45:20 +00:00
Ilia Alshanetsky
d3ed72e0ce Improved mime magic file detection
# Patch from BSD ports
2006-11-07 21:28:23 +00:00
Ilia Alshanetsky
0b785996cf Fixed pecl bug #6284 2006-11-07 21:18:51 +00:00
Derick Rethans
8b2b5efc88 - Make fileinfo compile with PHP 5.2 as well. 2006-10-10 09:52:06 +00:00
Ilia Alshanetsky
f2d96a5a96 fixed php version detection 2005-12-20 19:17:00 +00:00
Ilia Alshanetsky
1be62560c5 1.0.2 2005-12-06 00:27:01 +00:00
Ilia Alshanetsky
edca4a83ba Fixed copy & paste error 2005-11-24 23:24:53 +00:00
Ilia Alshanetsky
9e3bff7b0f 1.0.1 release 2005-11-24 23:12:38 +00:00
Michael Wallner
1736cb4759 PHP-5.1 compatibility 2005-11-19 21:41:08 +00:00
Edin Kadribasic
adcc19f9ec Support for Windows (Michael Wallner) 2005-09-07 11:16:57 +00:00
Ilia Alshanetsky
2e79463120 Release news 2005-06-30 21:13:34 +00:00
Ilia Alshanetsky
21e17d7ec0 Final (i hope) set of magic.h detection fixes. 2005-06-29 15:57:16 +00:00
Ilia Alshanetsky
7022fbae55 More reliable library detection.
# Thanks Jani
2005-06-29 13:53:59 +00:00
Ilia Alshanetsky
6f13b138a7 Added another search patch for magic file (fixes bug #3232). 2005-04-05 15:12:52 +00:00
Ilia Alshanetsky
6af3197b90 Improved search paths. 2005-02-17 22:56:47 +00:00
Antony Dovgal
5e8cd3a2da fix segfault when failed to open magic file 2005-01-31 15:01:47 +00:00
Ilia Alshanetsky
25fd4c3bc2 Fixed ZTS build 2005-01-24 23:53:00 +00:00
Ilia Alshanetsky
3849411fa2 Adjust magic path ordering. 2004-08-20 15:11:49 +00:00
Ilia Alshanetsky
420a8cd50a Added /usr/share/misc/file/magic to the possible magic paths (used by Debian) 2004-08-20 13:48:19 +00:00
Ilia Alshanetsky
b59d5af951 Prepare for 0.2 release. 2004-05-26 20:25:58 +00:00
Ilia Alshanetsky
28eaa612c1 Fixed typo. 2004-05-08 17:37:28 +00:00
Derick Rethans
f7afbb9370 - Fixed type which prevented this extension from being loaded as shared
extension.
2004-05-08 17:34:07 +00:00
Ilia Alshanetsky
d641ba3eae More C++ comments. 2004-04-21 23:16:34 +00:00
Ilia Alshanetsky
1b80b33b87 C++ comments are ungood ;). 2004-04-21 23:06:26 +00:00
Hartmut Holzgraefe
375b5df63d libmagic will only consume up to HOWMANY (hardcoded to 65536) bytes
from a file, so lets save bandwith and memory by limiting us to this
2004-04-21 22:49:35 +00:00
Ilia Alshanetsky
5a38078385 Fixes for PHP 4.3.X. 2004-02-13 01:19:57 +00:00
Ilia Alshanetsky
b93acb023d Added package.xml 2004-02-13 01:14:15 +00:00
Ilia Alshanetsky
eb06e0c425 Initial commit of the fileinfo extension. 2004-02-13 01:06:06 +00:00