Module Name:    src
Committed By:   joerg
Date:           Tue Oct 29 23:33:06 UTC 2019

Modified Files:
        src/tools/host-mkdep: host-mkdep.in

Log Message:
Don't escape ", GNU awk 5 warns about it.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/tools/host-mkdep/host-mkdep.in

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

Modified files:

Index: src/tools/host-mkdep/host-mkdep.in
diff -u src/tools/host-mkdep/host-mkdep.in:1.31 src/tools/host-mkdep/host-mkdep.in:1.32
--- src/tools/host-mkdep/host-mkdep.in:1.31	Tue May 12 00:04:34 2015
+++ src/tools/host-mkdep/host-mkdep.in	Tue Oct 29 23:33:06 2019
@@ -1,6 +1,6 @@
 #!@BSHELL@ -
 #
-#	$NetBSD: host-mkdep.in,v 1.31 2015/05/12 00:04:34 christos Exp $
+#	$NetBSD: host-mkdep.in,v 1.32 2019/10/29 23:33:06 joerg Exp $
 #
 # Copyright (c) 1991, 1993
 #	The Regents of the University of California.  All rights reserved.
@@ -239,10 +239,10 @@ else
 		( (@CPP@ "$@" $f; echo $? >&3) | @AWK@ '
 			/^#/ {
 				# Be as tolerant as possible.
-				sub(/^#(line)? [ 0-9]*\"?/, "")
+				sub(/^#(line)? [ 0-9]*"?/, "")
 				sub(/^#(pragma).*/, "")
 				sub(/^<.*/, "")
-				sub(/\".*$/, "")
+				sub(/".*$/, "")
 				sub(/^\.\//, "")
 				sub(/ [ 0-9]*$/, "")
 

Reply via email to