For reference, a link to my libmagic bug report explaining what this commit works around:
http://bugs.gw.com/view.php?id=248