Add the size of mg_len if mg_ptr is non-NULL.
authorNicholas Clark <nick@ccl4.org>
Wed, 4 May 2011 20:24:58 +0000 (22:24 +0200)
committerNicholas Clark <nick@ccl4.org>
Wed, 4 May 2011 21:06:47 +0000 (23:06 +0200)
commitd1888d0bf6f3c739044dc19ebd3114e3dc13bb47
tree1b70d56032be764771eb56ac1a8964557ae9b156
parentb71309488bc6064635eabcac81bb327bb6a01b93
Add the size of mg_len if mg_ptr is non-NULL.

With special cases for UTF-8 caching magic, which abuses mg_len, and for
mg_len == HEf_SVKEY
CHANGES
Size.xs
t/magic.t