pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mk/check



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu Jan 16 22:53:11 UTC 2020

Modified Files:
        pkgsrc/mk/check: check-shlibs-elf.awk

Log Message:
Don't escape newline and tab in regex, newer gawk complains.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/mk/check/check-shlibs-elf.awk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/check/check-shlibs-elf.awk
diff -u pkgsrc/mk/check/check-shlibs-elf.awk:1.17 pkgsrc/mk/check/check-shlibs-elf.awk:1.18
--- pkgsrc/mk/check/check-shlibs-elf.awk:1.17   Fri Mar 23 04:31:53 2018
+++ pkgsrc/mk/check/check-shlibs-elf.awk        Thu Jan 16 22:53:11 2020
@@ -1,4 +1,4 @@
-# $NetBSD: check-shlibs-elf.awk,v 1.17 2018/03/23 04:31:53 triaxx Exp $
+# $NetBSD: check-shlibs-elf.awk,v 1.18 2020/01/16 22:53:11 joerg Exp $
 #
 # Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
 # All rights reserved.
@@ -41,8 +41,8 @@
 function shquote(IN, out) {
        out = IN;
        gsub("\\\\", "\\\\", out);
-       gsub("\\\n", "\\n", out);
-       gsub("\\\t", "\\t", out);
+       gsub("\n", "\\n", out);
+       gsub("\t", "\\t", out);
        gsub(" ", "\\ ", out);
        gsub("'", "\\'", out);
        gsub("`", "\\`", out);



Home | Main Index | Thread Index | Old Index