1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Merge kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build-work1-testcases-20061

into  kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build-work
This commit is contained in:
df@kahlann.erinye.com
2007-01-22 16:30:53 +01:00
8 changed files with 49 additions and 19 deletions

View File

@ -58,6 +58,7 @@ $Devel::Trace::TRACE= 0; # Don't trace boring init stuff
use File::Path;
use File::Basename;
use File::Copy;
use File::Temp qw / tempdir /;
use Cwd;
use Getopt::Long;
use Sys::Hostname;
@ -1042,6 +1043,11 @@ sub command_line_setup () {
my $sockdir = $opt_tmpdir;
$sockdir =~ s|/+$||;
# On some operating systems, there is a limit to the length of a
# UNIX domain socket's path far below PATH_MAX, so try to avoid long
# socket path names.
$sockdir = tempdir(CLEANUP => 1) if ( length($sockdir) > 80 );
# Put this into a hash, will be a C struct
$master->[0]=