Bug #70

Spec for File::truncate when an absolute path file_name is sent.

Added by Brian Tatnall 701 days ago. Updated 691 days ago.

Status :Resolved Start :09/30/2008
Priority :Normal Due date :
Assigned to :- % Done :

0%

Category :-
Target version :-

Description

This problem occurred in JRuby 1.1.4 and is documented here:
http://jira.codehaus.org/browse/JRUBY-3025

File::truncate should be able to truncate paths to files relatively and absolutely.

Currently RubySpecs only verify that relative paths are capable of being truncated.

0001-File-truncate-should-be-able-to-truncate-absolute-p.patch - File::truncate absolute pathname patch (1.3 KB) Brian Tatnall, 09/30/2008 11:10 AM

History

10/11/2008 10:13 AM - Federico Builes

  • Status changed from New to Resolved

Brian: Thanks for the patch, it's been applied in 9d4f7c4da0. Since the patch you generated was made against a frozen version of Rubyspec (probably JRuby's) I had to apply it by hand, but you still get all the credits :)
If you want a commit bit let brixen know and give him the commit hash or this ticket.

For future patches please extract the patch from one of our versions at http://github.com/rubyspec/rubyspec

Thanks again.

Also available in: Atom PDF