dump.c: do not use sv_len_utf8 because it modified the scalar
authorGerard Goossen <gerard@tty.nl>
Wed, 11 Jul 2007 19:19:11 +0000 (21:19 +0200)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 11 Jul 2007 17:36:40 +0000 (17:36 +0000)
commite9569a7a55e6b33419f56b3697245a199938eb42
tree095fa1275d39edec21dcde82fb03a856e2d7201e
parent500960a6f90e95877f90eef273215f16726946b1
dump.c: do not use sv_len_utf8 because it modified the scalar
Message-ID: <20070711171911.GD8177@ostwald>

do not use sv_len_utf8 because it modified the scalar.
Add a test to Peek.t to check that dumping doesn't modify anything;
the test is still TODO because hashiteration in dump.c set the OOK flag.

p4raw-id: //depot/perl@31588
dump.c
ext/Devel/Peek/t/Peek.t