Skip to content

Commit 1e04d41

Browse files
committed
Fix error in path environment variables not being properly processed to split on path separator.
1 parent da634bb commit 1e04d41

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

doc/src/history.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
[[b2.history]]
22
= History
33

4+
== Version 5.4.1
5+
6+
Fix error in path environment variables not being properly processed to split
7+
on path separator.
8+
49
== Version 5.4.0
510

611
This is the end of year release. Biggest new items are the detection of

src/build/version.jam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import numbers ;
1010
# Mirror engine JAM_VERSION
1111
.major = 5 ;
1212
.minor = 4 ;
13-
.patch = 0 ;
13+
.patch = 1 ;
1414

1515

1616
rule build ( )

src/engine/patchlevel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ Distributed under the Boost Software License, Version 1.0.
1414

1515
#define VERSION_MAJOR 5
1616
#define VERSION_MINOR 4
17-
#define VERSION_PATCH 0
17+
#define VERSION_PATCH 1

src/engine/variable.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ void var_defines(struct module_t * module, const char * const * e, int preproces
111111
{
112112
char split = ' ';
113113
/* Split *PATH at :'s, not spaces. */
114-
if (var.ends_with("PATH")
115-
|| var.ends_with("Path" || var.ends_with("path")))
114+
if (var.ends_with("PATH") || var.ends_with("Path")
115+
|| var.ends_with("path"))
116116
split = SPLITPATH;
117117
/* Do the split. */
118118
for (::b2::string_view::size_type p0 = 0; p0 < val.size();)

0 commit comments

Comments
 (0)