zsh-workers
 help / Atom feed
* [PATCH] Silence build time warning while using gawk 5.x
@ 2019-08-03  5:53 Shlomi Fish
  0 siblings, 0 replies; 1+ messages in thread
From: Shlomi Fish @ 2019-08-03  5:53 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]

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 .

[-- Attachment #2: zsh-gawk5.patch --]
[-- Type: text/x-patch, Size: 455 bytes --]

^ permalink raw reply	[flat|nested] 1+ messages in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-03  5:53 [PATCH] Silence build time warning while using gawk 5.x Shlomi Fish

zsh-workers

Archives are clonable: git clone --mirror http://inbox.vuxu.org/zsh-workers

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.workers


AGPL code for this site: git clone https://public-inbox.org/ public-inbox