sv_find() returning false, followed by sv_magic() to add the magic,
authorNicholas Clark <nick@ccl4.org>
Fri, 17 Mar 2006 13:38:34 +0000 (13:38 +0000)
committerNicholas Clark <nick@ccl4.org>
Fri, 17 Mar 2006 13:38:34 +0000 (13:38 +0000)
commitd83f0a8247ea7458731c8479d8cbf3ee1fa81243
treec7b22a3a0257894aa9ec9c70af39e396f7212d7b
parentb4a415570dc258ddaff4bbab5c0f83c1af645b29
sv_find() returning false, followed by sv_magic() to add the magic,
followed immediately by sv_find() to find it, is somewhat wasteful.
So use sv_magicext(). (All cases are also correct w.r.t. SvREADONLY())

p4raw-id: //depot/perl@27533
mg.c
pp_ctl.c
pp_hot.c
regexec.c
sv.c