summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/makepro.awk2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9f5250b29..a39ee7665 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-08-03  Peter Stephenson  <p.stephenson@samsung.com>
+
+	* 44637: Shlomi Fish: Src/makepro.awk: "=" doesn't need quoting
+	in awk regexp and can cause warnings.
+
 2019-07-30  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* Eric Cook: 24102: Completion/Unix/Command/_user_admin: subuids
diff --git a/Src/makepro.awk b/Src/makepro.awk
index 0498c1545..226d3f96b 100644
--- a/Src/makepro.awk
+++ b/Src/makepro.awk
@@ -121,7 +121,7 @@ BEGIN {
 		# initialiser.
 		dcltor = substr(line, 1, RLENGTH-1)
 		line = substr(line, RLENGTH+1)
-		sub(/\=.*$/, "", dcltor)
+		sub(/=.*$/, "", dcltor)
 		match(dcltor, /^([^_0-9A-Za-z]| const )*/)
 		dcltor = substr(dcltor, 1, RLENGTH) "@+" substr(dcltor, RLENGTH+1)
 		match(dcltor, /^.*@\+[_0-9A-Za-z]+/)