Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] Silence build time warning while using gawk 5.x
This patch was written by the Mageia ( https://www.mageia.org/en/ ) workers
including https://github.com/kekePower and me ( https://www.shlomifish.org/ ).
Please consider applying it.
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]+/)
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
http://youtu.be/KxGRhd_iWuE - Never Give Up!!
Chuck Norris had a problem so he decided to use regular expressions. Now,
all the World’s problems are solved.
— http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/
Please reply to list if it's a mailing list post - http://shlom.in/reply .
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]+/)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author