mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
don't get path if client mode. [ruby-dev:29417]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
70bb660442
commit
3eff970f90
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Sep 3 02:34:55 2006 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
|
||||||
|
|
||||||
|
* lib/drb/unix.rb (DRbUNIXSocket#close): don't get path if client mode.
|
||||||
|
[ruby-dev:29417]
|
||||||
|
|
||||||
Sun Sep 3 01:45:17 2006 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
|
Sun Sep 3 01:45:17 2006 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
|
||||||
|
|
||||||
* lib/drb/acl.rb (ACLEntry#initialize): examine whether '*' is
|
* lib/drb/acl.rb (ACLEntry#initialize): examine whether '*' is
|
||||||
|
|
|
@ -88,7 +88,7 @@ module DRb
|
||||||
public
|
public
|
||||||
def close
|
def close
|
||||||
return unless @socket
|
return unless @socket
|
||||||
path = @socket.path
|
path = @socket.path if @server_mode
|
||||||
@socket.close
|
@socket.close
|
||||||
File.unlink(path) if @server_mode
|
File.unlink(path) if @server_mode
|
||||||
@socket = nil
|
@socket = nil
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue