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.
This commit is contained in:
unknown 2008-04-22 21:55:09 +02:00
parent 0a4ad7f390
commit 2d226292ff

View File

@ -96,6 +96,8 @@ sub check_socket_path_length {
my ($path)= @_;
my $truncated= 0;
return 0 if IS_WINDOWS;
require IO::Socket::UNIX;
my $sock = new IO::Socket::UNIX