]> git.ipfire.org Git - thirdparty/openssl.git/commit - Configure
Make the processing of build.info files more aware of absolute dirs
authorRichard Levitte <levitte@openssl.org>
Wed, 10 Feb 2016 01:00:37 +0000 (02:00 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 10 Feb 2016 04:09:39 +0000 (05:09 +0100)
commit2e963849b7ec501e4f2d6ffee31e08b2643b6e11
tree7446f353aba3701394e0eecc802cda3840ee2b9a
parent183733f882056ea3e6fe95e665b85fcc6a45dcb4
Make the processing of build.info files more aware of absolute dirs

There were cases where some input was absolute, and concatenating it
to the diretory to the source or build top could fail spectacularly.
Let's check the input first to see if it's absolute.

And while we're on the subject of checking if a file or dir spec is
absolute using file_name_is_absolute() has its own quirks on VMS,
where a logical name is considered absolute under most circumstances.
This is perfectly correct from a VMS point of view, but when parsing
the build.info files, we want single word file or directory names to
only be checked syntactically.  A function isabsolute() that does the
right thing is the solution.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Configure