Always return 0 inidcating that socket path would not be truncated when

running on windows. Apparently Cygwin tries to emulate UNIX Socket and thus
fails to create one.
parent d90d89dc
...@@ -96,6 +96,8 @@ sub check_socket_path_length { ...@@ -96,6 +96,8 @@ sub check_socket_path_length {
my ($path)= @_; my ($path)= @_;
my $truncated= 0; my $truncated= 0;
return 0 if IS_WINDOWS;
require IO::Socket::UNIX; require IO::Socket::UNIX;
my $sock = new IO::Socket::UNIX my $sock = new IO::Socket::UNIX
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment