Vid Sun, 13 Mar 2016 kl. 23.16.45, skrev [email protected]:
> On Sun, Mar 13, 2016 at 7:09 PM, Richard Levitte via RT
> <[email protected]> wrote:
> > Vid Sun, 13 Mar 2016 kl. 22.05.21, skrev [email protected]:
> >> $ perl --version
> >> This is perl, v5.8.8 built for x86_64-linux-thread-multi
> >
> > This is a problem. We don't really support perl older than 5.10, so
> > 5.8.x is
> > potentially challenging. It's quite possible you found a problem
> > area.
> >
> > As far as I understand the issue, it seems that the File::Spec perl
> > module
> > might be a bit dicy and could use an upgrade. If it was me, I'd
> > upgrade Perl.
> >
>
> I don't have any PERL-fu, so forgive my ignorance here... At the
> moment, I only see that one failure, so it may not be as bad as it
> appears.
>
> Before this executes:
>
> $dir = catdir($base,$dir) unless isabsolute($dir);
>
> It seems $base is <empty>. Would it be possible to fallback to $PWD if
> $base is <empty>? Does it make sense for $base to be empty?
Kinda sorta makes sense. That would be if 'dirname' misbehaves, i.e. gives back
'' in some cases.
Would you please test the attached patch, see if that makes a difference?
--
Richard Levitte
[email protected]
--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4425
Please log in as guest with password guest if prompted
diff --git a/Configure b/Configure
index 17bc6c2..cc4174c 100755
--- a/Configure
+++ b/Configure
@@ -161,7 +161,7 @@ sub resolve_config;
# Information collection #############################################
# Unified build supports separate build dir
-my $srcdir = catdir(absolutedir(dirname($0))); # catdir ensures local syntax
+my $srcdir = catdir(absolutedir(dirname($0) || ".")); # catdir ensures local syntax
my $blddir = catdir(absolutedir(".")); # catdir ensures local syntax
my $dofile = abs2rel(catfile($srcdir, "util/dofile.pl"));
--
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev