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

[perl #122703] chmod() doesn't populate a local()ed $!

Tony Cook via RT
October 22, 2014 05:35
[perl #122703] chmod() doesn't populate a local()ed $!
Message ID:
On Thu Sep 04 14:14:31 2014, LeonT wrote:
> Yes, it does not set $! if $fh is a closed filehandle (because it doesn't
> do any syscall). This is probably a bug, the attached patch fixes this.

I've applied essentially this patch, but with some tests as 8334cae656b5c7fd6ff3536633897332d0ee089a.

I didn't notice yours until after I'd written mine.


via perlbug:  queue: perl5 status: open Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About