You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2015/11/20 17:19:09 UTC
svn commit: r1715383 - /httpd/test/framework/trunk/scripts/uds-test.pl
Author: jim
Date: Fri Nov 20 16:19:09 2015
New Revision: 1715383
URL: http://svn.apache.org/viewvc?rev=1715383&view=rev
Log:
Remove if exists...
Modified:
httpd/test/framework/trunk/scripts/uds-test.pl
Modified: httpd/test/framework/trunk/scripts/uds-test.pl
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/scripts/uds-test.pl?rev=1715383&r1=1715382&r2=1715383&view=diff
==============================================================================
--- httpd/test/framework/trunk/scripts/uds-test.pl (original)
+++ httpd/test/framework/trunk/scripts/uds-test.pl Fri Nov 20 16:19:09 2015
@@ -3,6 +3,7 @@ use Socket;
use strict;
my $socket_path = '/tmp/test-ptf.sock';
+unlink($socket_path);
my $sock_addr = sockaddr_un($socket_path);
socket(my $server, PF_UNIX, SOCK_STREAM, 0) || die "socket: $!";
bind($server, $sock_addr) || die "bind: $!";