This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
VMS-specific scope fix for S_mayberelocate.
authorCraig A. Berry <craigberry@mac.com>
Sat, 3 Dec 2011 16:36:58 +0000 (10:36 -0600)
committerCraig A. Berry <craigberry@mac.com>
Sat, 3 Dec 2011 16:36:58 +0000 (10:36 -0600)
commitdb12e2d38b3ae9d4035fb95151828de67a1429c1
tree51a9dfdec4bf4ed3f2bd04f6d3d0f9d41568dcea
parent5a702b9ac51e9c840d6b8bac0725b156789b8972
VMS-specific scope fix for S_mayberelocate.

Back in 3185893b8dec106 I moved some code from the beginning of one
block to the middle of a different block.  Bad me.  The compiler
has been lax about allowing declarations in the middle of a block,
so we haven't noticed.  But as of c29067d7797853039, the code moved
to a new function while leaving the block it was in behind and we
end up with conflicting declarations of len.

Making our own block seems like the safest thing to do.  The
indentation in this section of code is a bit wacky -- I chose the
least intrusive alternative for clearer blame logs.
perl.c