This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix [perl #74542] 5.12.0 crash on diverse platforms
authorRafael Garcia-Suarez <rgs@consttype.org>
Wed, 21 Apr 2010 13:47:36 +0000 (15:47 +0200)
committerRafael Garcia-Suarez <rgs@consttype.org>
Wed, 21 Apr 2010 13:47:36 +0000 (15:47 +0200)
commit94fa954eaae532928977ae7f7290536783269b6e
treeeff626a6f644511b62f4c92ae1df5cee84e810e0
parent73d3d06d86e1eead8f63e5190682ceacbaef8ac1
Fix [perl #74542] 5.12.0 crash on diverse platforms

Filetest ops don't always expect an op on the stack, so we should use
TOPs only if we're sure that we're not stat'ing the _ filehandle.
This is indicated by OPf_KIDS (as checked in ck_ftst).
pp.h