Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/host-mkdep Don't escape ", GNU awk 5 warns about it.
details: https://anonhg.NetBSD.org/src/rev/fcc5c4e7d068
branches: trunk
changeset: 460649:fcc5c4e7d068
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Oct 29 23:33:06 2019 +0000
description:
Don't escape ", GNU awk 5 warns about it.
diffstat:
tools/host-mkdep/host-mkdep.in | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 54291175590f -r fcc5c4e7d068 tools/host-mkdep/host-mkdep.in
--- a/tools/host-mkdep/host-mkdep.in Tue Oct 29 22:21:53 2019 +0000
+++ b/tools/host-mkdep/host-mkdep.in Tue Oct 29 23:33:06 2019 +0000
@@ -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 @@
( (@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]*$/, "")
Home |
Main Index |
Thread Index |
Old Index