Skip to content
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

Incorrect File Creation/Stat Tests on Windows with files with invalid characters #5012

Open
p6rt opened this issue Jan 7, 2016 · 1 comment
Labels

Comments

@p6rt
Copy link

p6rt commented Jan 7, 2016

Migrated from rt.perl.org#127200 (status was 'new')

Searchable as RT127200$

@p6rt
Copy link
Author

p6rt commented Jan 7, 2016

From @zoffixznet

I saw this mentioned on IRC here​: http://irclog.perlgeek.de/perl6/2016-01-06#i_11839721 but I don't see a bug report for it.

Creation of a file with invalid character still succeeds, but uses a different filename. Furthermore, doing stat tests, like .e, succeeds still because (presumably) the incorrect filename is abridged once again.

Here's the sample code. See the aforementioned IRC log for more details

perl6 -e "'foo​:bar'.IO.spurt('test')" # empty file "foo" created
perl6 -e "'foo​:bar'.IO.e.say" # True

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant