Skip to content
This repository
Browse code

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...
commit ea23e5270624511d956f21ee26da24e0da6d74d6 1 parent 8a922d0
HD Moore authored December 17, 2006

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  msfencode
2  msfencode
@@ -140,7 +140,7 @@ case cmd
140 140
 			$stderr.puts(OutError + "Invalid encoder specified.")
141 141
 		end
142 142
 	when "encode"
143  
-		buf = input.readlines.join
  143
+		buf = input.read
144 144
 		
145 145
 		encoders.each { |enc|
146 146
 			next if not enc

0 notes on commit ea23e52

Please sign in to comment.
Something went wrong with that request. Please try again.