New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
「dir」 dies if weird unicode sequences are encountered (dir;) #5165
Comments
From @AlexDanielOne-liner to reproduce the bug (preferably run it in an empty directory): perl -E 'mkdir pack "h*", "60ba"'; perl6 -e 'dir; say �hello�' Result: It should not die. Such file (or directory) exists and all operations with it should work. I've reproduced that on linux with ext4 filesystem. ugexe confirmed it. It was reported that this bug is not reproducible with that one-liner on OS X: Windows gives no error, and doesn't appear to make the directory See also this: http://irclog.perlgeek.de/perl6/2016-03-07#i_12150444 |
From @FROGGSPatch: MoarVM/MoarVM@79dce1101b I hesitate to put a test for this in... |
1 similar comment
From @FROGGSPatch: MoarVM/MoarVM@79dce1101b I hesitate to put a test for this in... |
@FROGGS - Status changed from 'new' to 'resolved' |
From @AlexDanielWhy? On 2016-03-13 10:53:55, FROGGS.de wrote:
|
@AlexDaniel - Status changed from 'resolved' to 'open' |
From @zoffixznetExplanation and ideas on IRC: https://irclog.perlgeek.de/moarvm/2017-03-02#i_14193748 - It's risky to be part of normal tests, lest the user won't be able to delete these weird dirs |
From @AlexDanielTest added in Raku/roast@a7590d6 Note that the test *does create* files with weird names, but that's totally OK in /tmp I think. On 2017-03-02 07:06:54, cpan@zoffix.com wrote:
|
@AlexDaniel - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#127671 (status was 'resolved')
Searchable as RT127671$
The text was updated successfully, but these errors were encountered: