develooper Front page | perl.perl5.porters | Postings from October 2016

[perl #129928] do "a\0b" dies instead of returning undef / ENOENT

From:
Tony Cook via RT
Date:
October 25, 2016 00:10
Subject:
[perl #129928] do "a\0b" dies instead of returning undef / ENOENT
Message ID:
rt-4.0.24-14593-1477354206-302.129928-15-0@perl.org
On Thu Oct 20 15:14:25 2016, mauke- wrote:
> On Thu Oct 20 12:00:22 2016, mauke- wrote:
> > When given a filename containing "\0", 'do' throws a "Can't locate"
> > exception instead of returning undef and setting $! to ENOENT.
> 
> Patch attached.

Thanks, applied as a1b60c8dae6ad00c164e20cf9151bae68e85ab2d.

Tony

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=129928



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About