Replace ereg code with pcre, fix duplicate macro names and segfault. Patch by Mikko
Upgraded the lib to use PHP memory allocation routines. Fixed a crash caused by analysis of DEADJOE files A little bit of CS inside libmagic
This commit was manufactured by cvs2svn to create branch 'PHP_5_3'.
1234