1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 10:16:41 +02:00
Commit Graph

43 Commits

Author SHA1 Message Date
James Cox f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Hartmut Holzgraefe bf0e2751bb ... as suggested by Wez 2003-06-05 14:42:12 +00:00
Hartmut Holzgraefe 55e2bbecfa mime_content_type() now also accepts open streams as argument
streas have to bee seekable, the stream position is reset to
its original value using ftell and fseek after operation
2003-06-04 14:21:40 +00:00
Moriyoshi Koizumi 4932306f94 Rearranged search order for the magic file to avoid further confusions 2003-03-31 19:48:53 +00:00
foobar a09e1397c7 Fixed compile failures when ZLIB / PCRE are compiled as shared
extensions in same build.
2003-02-09 19:09:52 +00:00
foobar c96fe825b8 fix typo 2003-01-28 06:52:09 +00:00
foobar 946032f40b - Cleaned up and made less error-prone
- Changed --enable-mime-magic -> --with-mime-magic[=FILE] to allow
  specifying of the file during configure.
2003-01-28 01:00:15 +00:00
Sander Roobol e9d0a58cb0 Fix build 2003-01-26 09:13:31 +00:00
Hartmut Holzgraefe 974ff24e80 - mime file parser messages only with mime_magic.debug=On (default: off)
- fix docref URL in startup error messages
- show status in php info, either "enabled" or "..., disabled"
2003-01-25 16:25:37 +00:00
Hartmut Holzgraefe 6a4a858294 preparations for making magic file parser silent 2003-01-25 13:33:29 +00:00
Hartmut Holzgraefe f95759b36a suggesting a plain magic file insteat of a mime one is a bad idea 2003-01-25 10:51:04 +00:00
Ilia Alshanetsky 3d8e54f3a2 Changed php_error to php_error_docref. 2003-01-19 00:45:53 +00:00
Moriyoshi Koizumi 7ecd3ff91a Reduced compiler warnings 2003-01-10 04:37:26 +00:00
Sebastian Bergmann b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Stefan Esser e900f8c97b do correct casting 2002-12-24 23:28:05 +00:00
Stefan Esser 0bb1ff71d6 fix compile error on IRIX 2002-12-23 08:50:05 +00:00
Hartmut Holzgraefe 8bd550825f email address change 2002-11-25 12:30:28 +00:00
Moriyoshi Koizumi b75f2df3d4 We have to use binary mode here. 2002-11-18 21:20:45 +00:00
Moriyoshi Koizumi a9d7509036 Fixed possible leaks 2002-11-18 21:15:41 +00:00
Moriyoshi Koizumi 90317cbc5d Always use binary mode for magic files 2002-11-15 16:25:31 +00:00
Moriyoshi Koizumi 3ecc71a099 Fixed segfault in case the specified magic file cannot be read. 2002-11-15 15:13:30 +00:00
Moriyoshi Koizumi ee37386183 Use C comments 2002-11-15 01:45:23 +00:00
Wez Furlong c429805e0b Make that error message more meaningful for systems like my SuSE 7.0 with
an apparently broken magic file.
2002-10-04 19:01:34 +00:00
Sascha Schumann 75c9efc08a Fix typo 2002-09-24 06:39:43 +00:00
Sascha Schumann 8f81e9ad23 Replace underscores with dashes in --enable-mime-magic 2002-09-24 06:37:17 +00:00
Derick Rethans cf07c698d1 - Align configure --help messages 2002-09-19 20:14:35 +00:00
Ilia Alshanetsky 081e420c18 Fixed a typo 2002-08-22 19:19:37 +00:00
Edin Kadribasic 3c4c2926d0 magic.mime seems to be more common name for the file. 2002-08-22 13:23:51 +00:00
Edin Kadribasic 55173781b5 @- Made mime_magic extension available on win32 platform. (Edin)
Mime_magic extensions builds on windows now.
2002-08-22 13:16:03 +00:00
Ilia Alshanetsky 848bcf7527 Instead of hardcoding the path of magic.mime file, try to find the file
inside common paths for the file.
2002-08-22 12:21:25 +00:00
Derick Rethans e1c2e158ff - Update TODO 2002-06-26 18:49:42 +00:00
Derick Rethans 734496b44f - Nuke some TSRMLS_FETCHes 2002-06-26 18:49:08 +00:00
Sander Roobol 7c4ad7eda4 ZTS fixes
# if this breaks something, please let me know... i've got really no
# idea what i'm doing but this fixes the ZTS build :)
2002-06-20 20:13:20 +00:00
Hartmut Holzgraefe ddac6892f4 now it works on streams (plus some debug code removed) 2002-06-11 09:37:31 +00:00
Hartmut Holzgraefe 8a6f6fca1d ZTS issues fixed 2002-05-21 12:02:44 +00:00
Hartmut Holzgraefe 7f732313a7 not beautifull (yet), but should fix ZTS builds 2002-05-21 10:14:12 +00:00
Markus Fischer 51ba96c603 - Update 2002-05-11 14:52:29 +00:00
Hartmut Holzgraefe ad361b50dc not enabled by default 2002-03-27 13:54:09 +00:00
Hartmut Holzgraefe aba71d94e0 moved 'static' prototypes to prevent warnings 2002-03-27 13:51:55 +00:00
Hartmut Holzgraefe 65f93ba4f7 preparing for Content-Encoding detection 2002-03-27 11:56:42 +00:00
Hartmut Holzgraefe 2875cb8a7f build conflicts fixed 2002-03-26 19:57:32 +00:00
Hartmut Holzgraefe 14e298f805 initial checkin 2002-03-25 00:42:37 +00:00
Hartmut Holzgraefe 2c413f116a 1st implementation of magic-file based mime_content_type(string filename) 2002-03-24 23:00:47 +00:00