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 Aug 18 00:20:58 UTC 2022
Modified Files:
pkgsrc/mk/check: check-pie-elf.awk check-relro-elf.awk
Log Message:
Don't escape newline and tab in regex, newer gawk complains.
Follows check-shlibs-elf.awk change from 2 years ago.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/mk/check/check-pie-elf.awk
cvs rdiff -u -r1.3 -r1.4 pkgsrc/mk/check/check-relro-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-pie-elf.awk
diff -u pkgsrc/mk/check/check-pie-elf.awk:1.2 pkgsrc/mk/check/check-pie-elf.awk:1.3
--- pkgsrc/mk/check/check-pie-elf.awk:1.2 Sun Feb 13 10:48:24 2022
+++ pkgsrc/mk/check/check-pie-elf.awk Thu Aug 18 00:20:58 2022
@@ -1,4 +1,4 @@
-# $NetBSD: check-pie-elf.awk,v 1.2 2022/02/13 10:48:24 nia Exp $
+# $NetBSD: check-pie-elf.awk,v 1.3 2022/08/18 00:20:58 joerg Exp $
#
# Read a list of potential ELF binaries from stdin. For each, extract the list
# of headers. There are four possibilities:
@@ -32,8 +32,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);
Index: pkgsrc/mk/check/check-relro-elf.awk
diff -u pkgsrc/mk/check/check-relro-elf.awk:1.3 pkgsrc/mk/check/check-relro-elf.awk:1.4
--- pkgsrc/mk/check/check-relro-elf.awk:1.3 Wed Apr 24 22:56:47 2019
+++ pkgsrc/mk/check/check-relro-elf.awk Thu Aug 18 00:20:58 2022
@@ -1,4 +1,4 @@
-# $NetBSD: check-relro-elf.awk,v 1.3 2019/04/24 22:56:47 maya Exp $
+# $NetBSD: check-relro-elf.awk,v 1.4 2022/08/18 00:20:58 joerg Exp $
#
# Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
# Copyright (c) 2017 Pierre Pronchery <khorben%NetBSD.org@localhost>.
@@ -42,8 +42,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