2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
Rene Rivera
cc84fc59b4 Use std::free instead of C free.
Fixes #671.
2020-12-27 09:49:59 -06:00
Andrey Semashev
5a7c36c8b5 Added missing include stdlib.h. (#672)
The header is needed for free().

Fixes https://github.com/boostorg/build/issues/671.
2020-11-22 08:49:19 -06:00
Miroslaw Stein
550f99c846 Fix memory leak in startup::bootstrap (boostorg#668) (#669)
The executable_path allocates a string (strdup) which was never released

Tested with ASAN and valgrind

Co-authored-by: Miroslaw Stein <miroslaw.stein@isode.com>
2020-11-14 21:22:19 -06:00
Rene Rivera
b29603fa88 Fix path to bootstrap for back compat.
fixes #650
2020-09-26 18:02:59 -05:00
Rene Rivera
c6b74d0683 Add missing BOOST_ROOT to boot strap search.
When the Jambase got ported we lost also searching BOOST_ROOT for the
bootstrap file. This is strictly a backward compatibility fix for Boost.

fixes #622
2020-09-26 09:01:23 -05:00
Rene Rivera
6b40dd361e Fix path to portable install style bootstrap. 2020-06-25 13:52:05 -05:00
Rene Rivera
4f6f4a2510 Add missing early exits to bootstrap sequence.
Some tests failed because the bootstrap would continue to run even
detecting a problem. This puts in the missing early return statements
in the boost-build builtin rule to get the short circuit on error
like the original Jambase.
2020-06-23 22:15:07 -05:00
Rene Rivera
275dc6e6bf Work around some older compiliers.
Some older compilers don't coerce in the ctor even if there's one
available.
2020-06-22 17:36:23 -05:00
Rene Rivera
59b7a6dc69 Port Jambase to C++.
This ports the minimal Jambase to native C++. This removes the need for
mkjambase and the Jambase files. To accomplish that it adds C++
utility wrapers around Jam language primitives. Which makes future
similar work much easier.
2020-06-22 08:48:24 -05:00