call decode_utf8 inside eval
authorJoey Hess <joey@kodama.kitenet.net>
Mon, 17 Nov 2008 20:56:15 +0000 (15:56 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Mon, 17 Nov 2008 20:56:15 +0000 (15:56 -0500)
commit75f262f44dc1b192644252171e77cab90cc7322c
tree7c1afb1417eb0685835f9bbb0a9dc3ac89d0a523
parent7aad3b604784a749c1681dbf9dbb89250147cbff
call decode_utf8 inside eval

holger reported that decode_utf8 was crashing with perl 5.8.8. Earlier, I
thought that passing 0 to the function avoided this with old perls, but
that was apparently not enough, it still crashes. So, put it inside the
eval, so we can at least recover from it crashing.
IkiWiki/Plugin/aggregate.pm