Bug#27344 Total failure to start the server

- length($sockdir) >= 80 !!
This commit is contained in:
msvensson@pilot.blaudden 2007-04-04 19:19:26 +02:00
parent fc992b0667
commit c159836fdc

View file

@ -1050,7 +1050,7 @@ sub command_line_setup () {
# 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 => 0) if ( length($sockdir) > 80 );
$sockdir = tempdir(CLEANUP => 0) if ( length($sockdir) >= 80 );
# Put this into a hash, will be a C struct