Permalink
Browse files

Always use IO.read vs IO.readlines.join

git-svn-id: file:///home/svn/framework3/trunk@4212 4d416f70-5f16-0410-b530-b9f4589650da
  • Loading branch information...
1 parent 8a922d0 commit ea23e5270624511d956f21ee26da24e0da6d74d6 HD Moore committed Dec 17, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 msfencode
View
@@ -140,7 +140,7 @@ case cmd
$stderr.puts(OutError + "Invalid encoder specified.")
end
when "encode"
- buf = input.readlines.join
+ buf = input.read
encoders.each { |enc|
next if not enc

0 comments on commit ea23e52

Please sign in to comment.