* weltling/libmagic_upgrade: (29 commits)
partially revert wrong merge
after merge fix
updated libmagic.patch
catching up
catching up
regenerated data file
more after patch fixes
restore good patch parts
stat is done by php
use zend_strndup
started to patch for libmagic.next
fix test outputs
catch up with the previous cve-2014-3538 patch
catching up
catching up
catching up
updated the test magic file
add patchlevel info
portable off_t
regenerated data file
...