Skip to content

Commit

Permalink
Always use IO.read vs IO.readlines.join
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/svn/framework3/trunk@4212 4d416f70-5f16-0410-b530-b9f4589650da
  • Loading branch information
HD Moore committed Dec 17, 2006
1 parent 8a922d0 commit ea23e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msfencode
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea23e52

Please sign in to comment.