SHIMODA Piro Hiroshi
null+****@clear*****
Mon Oct 6 13:25:23 JST 2014
SHIMODA "Piro" Hiroshi 2014-10-06 13:25:23 +0900 (Mon, 06 Oct 2014) New Revision: a4ec36e45be681c2b4dcc10d13c7500de1042822 https://github.com/droonga/droonga-engine/commit/a4ec36e45be681c2b4dcc10d13c7500de1042822 Message: Detect default hostname with correct encoding. The returned value of Socket.gethostname can be ascii-8bit, and the droonga-engine-configure command unexpectedly outputs it as a binary value. Modified files: lib/droonga/address.rb Modified: lib/droonga/address.rb (+1 -0) =================================================================== --- lib/droonga/address.rb 2014-10-06 12:43:09 +0900 (a1a9536) +++ lib/droonga/address.rb 2014-10-06 13:25:23 +0900 (55fc157) @@ -36,6 +36,7 @@ module Droonga end DEFAULT_HOST = Socket.gethostname + DEFAULT_HOST.force_encoding("US-ASCII") if DEFAULT_HOST.ascii_only? DEFAULT_PORT = 10031 DEFAULT_TAG = "droonga" -------------- next part -------------- HTML����������������������������... Descargar