Re: [perl #125463] [JVM] .IO.unlink succeeds in unlinking empty directories

2017-05-04 Thread The Sidhekin via RT
On Mon, May 1, 2017 at 6:25 PM, Rob Hoelz via RT < perl6-bugs-follo...@perl.org> wrote: > Perl 5 signals failure when the file doesn't exist: > > $ touch one > $ perl -le 'print unlink("one") ? 1 : 0' > 1 > $ perl -le 'print unlink("one") ? 1 : 0' > 0 > Not exactly. Perl5 unlink is d

Re: [perl #125463] [JVM] .IO.unlink succeeds in unlinking empty directories

2017-05-01 Thread The Sidhekin
On Mon, May 1, 2017 at 6:25 PM, Rob Hoelz via RT < perl6-bugs-follo...@perl.org> wrote: > Perl 5 signals failure when the file doesn't exist: > > $ touch one > $ perl -le 'print unlink("one") ? 1 : 0' > 1 > $ perl -le 'print unlink("one") ? 1 : 0' > 0 > Not exactly. Perl5 unlink is d