httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1715383 - /httpd/test/framework/trunk/scripts/uds-test.pl
Date Fri, 20 Nov 2015 16:19:09 GMT
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: $!"; 



Mime
View raw message