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

JRuby 1.7.x Tempfile.path ends up being \\ delimited. #3709

Closed
enebo opened this issue Mar 3, 2016 · 0 comments
Closed

JRuby 1.7.x Tempfile.path ends up being \\ delimited. #3709

enebo opened this issue Mar 3, 2016 · 0 comments
Milestone

Comments

@enebo
Copy link
Member

enebo commented Mar 3, 2016

Environment

JRuby 1.7.24-. JRuby 9k works as expected.

Expected Behavior

require "tempfile"

puts Tempfile.new("ddd", "C\tmp").path

Should be 'C:/tmp/ddd{random_crud}'.

Actual Behavior

C:\tmp\ddd{random_crud}

This also addresses a 2 failures on MRI's test suite in test/externals/ruby1.9/test_tempfile.rb.

@enebo enebo added the ruby 1.9 label Mar 3, 2016
@enebo enebo added this to the JRuby 1.7.25 milestone Mar 3, 2016
@enebo enebo closed this as completed Mar 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant