mirror of https://github.com/GNOME/gimp.git
see plug-ins/perl/Changes
This commit is contained in:
parent
75267997be
commit
ad8bb5efb6
|
@ -197,8 +197,8 @@ sub try_connect {
|
|||
return start_server($_);
|
||||
} elsif (s{^unix/}{/}) {
|
||||
my $server_fh=local *FH;
|
||||
return ((socket $server_fh,AF_UNIX,SOCK_STREAM,PF_UNSPEC)
|
||||
|| (socket $server_fh,AF_LOCAL,SOCK_STREAM,PF_UNSPEC)
|
||||
return ((socket($server_fh,AF_UNIX,SOCK_STREAM,PF_UNSPEC)
|
||||
|| socket $server_fh,AF_LOCAL,SOCK_STREAM,PF_UNSPEC)
|
||||
&& connect($server_fh,sockaddr_un $_)
|
||||
? $server_fh : ());
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue