We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b41ab2b commit e4234fbCopy full SHA for e4234fb
lib/io/endpoint/unix_endpoint.rb
@@ -14,7 +14,6 @@ def initialize(path, type = Socket::SOCK_STREAM, **options)
14
if path.bytesize < 104
15
super(Address.unix(path, type), **options)
16
else
17
- path = File.expand_path(path) # make sure the path is absolute
18
Dir.chdir(File.dirname(path)) do
19
super(Address.unix(File.basename(path), type), **options)
20
end
0 commit comments