Skip to content

Commit

Permalink
[Truffle] ARGF.read use clear
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Fish committed Sep 6, 2016
1 parent 59f39ca commit faf9735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion truffle/src/main/ruby/core/argf.rb
Expand Up @@ -370,7 +370,7 @@ def read(bytes=nil, output=nil)
output = default_value
else
output = StringValue(output)
output.delete!("^*") # rb_str_resize(str,0);
output.clear
end

if bytes
Expand Down

0 comments on commit faf9735

Please sign in to comment.