[macruby-changes] [4236] MacRuby/trunk/lib/resolv.rb
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jun 17 16:58:08 PDT 2010
Revision: 4236
http://trac.macosforge.org/projects/ruby/changeset/4236
Author: martinlagardette at apple.com
Date: 2010-06-17 16:58:04 -0700 (Thu, 17 Jun 2010)
Log Message:
-----------
More encoding fixes in lib
- Fixes #503
Modified Paths:
--------------
MacRuby/trunk/lib/resolv.rb
Modified: MacRuby/trunk/lib/resolv.rb
===================================================================
--- MacRuby/trunk/lib/resolv.rb 2010-06-17 22:01:18 UTC (rev 4235)
+++ MacRuby/trunk/lib/resolv.rb 2010-06-17 23:58:04 UTC (rev 4236)
@@ -1314,7 +1314,7 @@
class MessageEncoder # :nodoc:
def initialize
- @data = ''
+ @data = ''.force_encoding("BINARY")
@names = {}
yield self
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100617/ce2ebba6/attachment.html>
More information about the macruby-changes
mailing list