This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In pp_chdir, move SvGETMAGIC(sv) out of the if() condition.
authorNicholas Clark <nick@ccl4.org>
Fri, 9 Sep 2011 11:02:46 +0000 (13:02 +0200)
committerNicholas Clark <nick@ccl4.org>
Fri, 9 Sep 2011 11:02:46 +0000 (13:02 +0200)
commita0c4bfab72af05778cf2c62b8affc9086fae95f8
tree53ca368e3c4ef0f28c30ae0df23a723946fac5c2
parent6662c9a722f53ebc65b51c61fe887a2e8b6b479c
In pp_chdir, move SvGETMAGIC(sv) out of the if() condition.

It was added to the if() condition as part of 935647290357b277.
Unfortunately the syntax used to implemented SvGETMAGIC(sv) is considered by
gcc to be valid in an expression, but is not valid in other compilers.
pp_sys.c