glob crashes when %File::Glob:: is empty
authorFather Chrysostomos <sprout@cpan.org>
Mon, 7 Jun 2010 10:07:11 +0000 (12:07 +0200)
committerRafael Garcia-Suarez <rgs@consttype.org>
Mon, 7 Jun 2010 10:07:11 +0000 (12:07 +0200)
commit4984aa345cae6d92b88b5afcf09ce72cb121191a
treeaf0358c0adf0eecfe5958eccb6c65e0bba0c0125
parentb3fe9f3f93e825d0b858b198dad1d2da4b7b4a95
glob crashes when %File::Glob:: is empty

In 5.6.2, a failure to find a CORE::GLOBAL::glob after loading
File::Glob would result in a fallback to external glob via pp_glob.
Now it crashes.

The attached patch should fix this.
op.c
t/op/glob.t