diff options
| author | seki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-02 17:39:05 +0000 |
|---|---|---|
| committer | seki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-02 17:39:05 +0000 |
| commit | 711568dd7e1d3fb136a7ffb685a41b0c4db69113 (patch) | |
| tree | 8eb35c6b2a526ac6a6144bf017c336abdc9a0ea5 | |
| parent | 3a6c36e286c17a2a5f138a33511d9e6c3c7f655d (diff) | |
| download | ruby-711568dd7e1d3fb136a7ffb685a41b0c4db69113.tar.gz ruby-711568dd7e1d3fb136a7ffb685a41b0c4db69113.tar.xz ruby-711568dd7e1d3fb136a7ffb685a41b0c4db69113.zip | |
don't get path if client mode. [ruby-dev:29417]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | lib/drb/unix.rb | 2 |
2 files changed, 6 insertions, 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> * lib/drb/acl.rb (ACLEntry#initialize): examine whether '*' is diff --git a/lib/drb/unix.rb b/lib/drb/unix.rb index 989ec57ee..57feed830 100644 --- a/lib/drb/unix.rb +++ b/lib/drb/unix.rb @@ -88,7 +88,7 @@ module DRb public def close return unless @socket - path = @socket.path + path = @socket.path if @server_mode @socket.close File.unlink(path) if @server_mode @socket = nil |
