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

.IO.l does not work on dangling symlinks #5633

Closed
p6rt opened this issue Sep 1, 2016 · 5 comments
Closed

.IO.l does not work on dangling symlinks #5633

p6rt opened this issue Sep 1, 2016 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Sep 1, 2016

Migrated from rt.perl.org#129162 (status was 'resolved')

Searchable as RT129162$

@p6rt
Copy link
Author

p6rt commented Sep 1, 2016

From @gfldex

perl6 -e "dd 'stale-symlink'.IO.l"
# OUTPUT Failure.new(exception => X​::IO​::DoesNotExist.new(path => "stale-symlink", trying => "l", os-error => Any), backtrace => Backtrace.new)

# .IO.l should return true and .IO.e should return false on dangling symlinks

@p6rt
Copy link
Author

p6rt commented Sep 2, 2016

From @coke

On Thu Sep 01 10​:05​:03 2016, gfldex wrote​:

perl6 -e "dd 'stale-symlink'.IO.l"
# OUTPUT Failure.new(exception => X​::IO​::DoesNotExist.new(path =>
"stale-symlink", trying => "l", os-error => Any), backtrace =>
Backtrace.new)

# .IO.l should return true and .IO.e should return false on dangling
symlinks

Did you do anything in particular at the OS level before running this perl 6 code? Or are you implying that this is to be run on a non-existent file?
--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Sep 2, 2016

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Sep 26, 2016

From @zoffixznet

Fixed in rakudo/rakudo@3aa725429e
Tests added in Raku/roast@01a69094d1

@p6rt
Copy link
Author

p6rt commented Sep 26, 2016

@zoffixznet - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Sep 26, 2016
@p6rt p6rt added the IO 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