This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In pp_getlogin, use sv_setpv_mg() to avoid needing an explicit strlen() call.
authorNicholas Clark <nick@ccl4.org>
Sun, 24 Oct 2010 08:59:08 +0000 (09:59 +0100)
committerNicholas Clark <nick@ccl4.org>
Sun, 24 Oct 2010 08:59:08 +0000 (09:59 +0100)
commitbee8aa44140bbc2d7566da206b8e0cbf146397d0
treefa4a7c08f5edf87816544c826c9209887034f426
parent5f211341d665e81a03fbd4935e4e87f70d937fc3
In pp_getlogin, use sv_setpv_mg() to avoid needing an explicit strlen() call.

It was using PUSHp() here, meaning local object code for a call to strlen(),
and for SvSETMAGIC().
pp_sys.c