summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2017-05-27 20:07:30 -0400
committerPaul Smith <psmith@gnu.org>2017-06-04 18:37:21 -0400
commitb90fabc8d6f34fb37d428dc0fb1b8b1951a9fbed (patch)
tree9728845ec2d8b6a7c973d49e71c7cb9f4b574154 /NEWS
parent816a867ff51110cbca1956ad0e625d8251a7531b (diff)
downloadmake-git-b90fabc8d6f34fb37d428dc0fb1b8b1951a9fbed.tar.gz
* NEWS: Do not insert a space during '+=' if the value is empty.
* doc/make.texi (Appending): Document this behavior. * variable.c (do_variable_definition): Only add a space if the variable value is not empty. * tests/scripts/variables/flavors: Test this behavior.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e60644a1..6e2c5c65 100644
--- a/NEWS
+++ b/NEWS
@@ -29,6 +29,12 @@ http://sv.gnu.org/bugs/index.php?group=make&report_id=111&fix_release_id=108&set
This was claimed to be fixed in 3.81, but wasn't, for some reason.
To detect this change search for 'nocomment' in the .FEATURES variable.
+* WARNING: Backward-incompatibility!
+ Previously appending using '+=' to an empty variable would result in a value
+ starting with a space. Now the initial space is only added if the variable
+ already contains some value. Similarly, appending an empty string does not
+ add a trailing space.
+
* The previous limit of 63 jobs under -jN on MS-Windows is now
increased to 4095. That limit includes the subprocess started by
the $(shell) function.