1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 00:18:23 +02:00
Commit Graph

68 Commits

Author SHA1 Message Date
Dmitry Stogov 943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Andi Gutmans 1efe984d08 - Get rid of using ENFORCE_SAFE_MODE. 2006-02-19 04:29:42 +00:00
foobar 251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
Derick Rethans 9e6588d6f0 - Allow mime_content_type() to work with even a slightly broken mime magic
file.
2005-10-18 13:02:11 +00:00
Antony Dovgal 37bc8289b9 fix mime_magic problems with ZTS 2005-10-18 12:41:13 +00:00
Ilia Alshanetsky 0ec88c52cd MFB51: ZTS fix 2005-10-14 15:38:56 +00:00
foobar 23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Ilia Alshanetsky 35df0e5571 Compiler warning fix. 2005-07-11 03:24:28 +00:00
Ilia Alshanetsky 266f2fbf13 Return error on an invalid input to mime_content_type() function. 2005-05-25 03:05:47 +00:00
foobar ce742b08b0 - Fix typo (avaliable -> available). (bug #28725) 2004-12-16 12:34:32 +00:00
Frank M. Kromann 2acc314e6f sys/stat.h is includes in php_streams.h no need to do that again. 2004-08-03 04:15:34 +00:00
Hartmut Holzgraefe 9833b429d6 Depercating mime_magic in favor of PECL::fileinfo 2004-04-22 01:24:12 +00:00
Hartmut Holzgraefe eeb172b29f "The Visa to Sibiria" (work in progress)
Adding a package.xml to a bundled extension does not only
ease the transition to PECL whereever suitable but also
allows to build and install an extension as "shared" using
the PEAR installer without having to deal with phpize and
friends by hand
2004-03-23 19:46:10 +00:00
foobar f4983c0d3f - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
foobar 99bc88b7c0 Fix the mime_magic.debug option init 2004-01-16 11:15:13 +00:00
foobar 124e6c8b6d - Fixed bug #26844 (ext/mime_magic: magic file validation broken). 2004-01-15 06:09:16 +00:00
foobar ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Wez Furlong 0c126e1233 make these build with new win32 build system.
mcve untested (I don't have those libs/headers)
2003-12-19 15:04:31 +00:00
foobar 5b4e619cdd - Moved all the mime_magic.c specific stuff into their own header file
to prevent possible compile failures.

# Should fix bug #26103
2003-11-04 05:15:19 +00:00
Ilia Alshanetsky 30cc4dc8c9 Fixed bug #25918 (Possible crash in mime_content_type()). 2003-10-20 14:36:51 +00:00
foobar db50cd251e Aligned configure help texts. 2003-10-03 05:24:33 +00:00
Hartmut Holzgraefe ee922e3085 compiler warning fixes, one of them a potential crash bug 2003-09-26 07:47:01 +00:00
Ilia Alshanetsky ef088c9d16 Fixed bug #25155 (Possible namespace conflict between mime-magic & mssql) 2003-08-19 22:13:01 +00:00
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