In perl.git, the branch smoke-me/hugmeir/dup_glob_state has been created

<http://perl5.git.perl.org/perl.git/commitdiff/44aec6997227e3a00ce5b815534c668d8f500b37?hp=0000000000000000000000000000000000000000>

        at  44aec6997227e3a00ce5b815534c668d8f500b37 (commit)

- Log -----------------------------------------------------------------
commit 44aec6997227e3a00ce5b815534c668d8f500b37
Author: Brian Fraser <[email protected]>
Date:   Sat Sep 21 03:19:52 2013 -0300

    File::Glob: Dup glob state in CLONE()
    
    This solves [perl #119897] and [perl #117823], and restores the
    behavior of glob() in conjunction with threads of 5.14 and older.
    
    Since 5.16, code that used glob() inside a thread had been
    unintentionally sharing state between threads, which lead to things
    like this crashing and failing assertions:
    
    ./perl -Ilib -Mthreads -e 'scalar glob("*"); threads->create(sub { 
glob("*") })->join();'
-----------------------------------------------------------------------

--
Perl5 Master Repository

Reply via email to