Commit 363bc66a authored by df@kahlann.erinye.com's avatar df@kahlann.erinye.com

Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-4.1-build

into  kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build
parents 59e2133e 15167853
......@@ -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;
......@@ -1030,6 +1031,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]=
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment