# New Ticket Created by  Will Coleda 
# Please include the string:  [perl #36882]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=36882 >


Trying to glob empty strings causes a bus error. I would expect this  
to be a match. works fine with a glob of "*" and a string of "".

Regards.

.sub main @MAIN

   load_bytecode "PGE.pbc"
   load_bytecode "PGE/glob.pbc"

   $S0 = ""
   $S1 = ""

   $P1 = find_global "PGE", "glob"

   $P2 = $P1($S0)

   $P3 = $P2($S1)

   $P3.dump()

.end


Reply via email to