Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/host-mkdep Ensure a space after # or #line so we don't...
details: https://anonhg.NetBSD.org/src/rev/f0b8fb5c90c1
branches: trunk
changeset: 521333:f0b8fb5c90c1
user: tv <tv%NetBSD.org@localhost>
date: Mon Jan 28 19:26:35 2002 +0000
description:
Ensure a space after # or #line so we don't pick up stray #pragmas and
so forth in the .depend file.
diffstat:
tools/host-mkdep/host-mkdep.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 955fd7afe080 -r f0b8fb5c90c1 tools/host-mkdep/host-mkdep.in
--- a/tools/host-mkdep/host-mkdep.in Mon Jan 28 19:22:52 2002 +0000
+++ b/tools/host-mkdep/host-mkdep.in Mon Jan 28 19:26:35 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: host-mkdep.in,v 1.1 2002/01/10 17:04:21 tv Exp $
+# $NetBSD: host-mkdep.in,v 1.2 2002/01/28 19:26:35 tv Exp $
#
# Copyright (c) 1991, 1993
# The Regents of the University of California. All rights reserved.
@@ -90,7 +90,7 @@
}
/^#/ {
# Be as tolerant as possible.
- sub(/^#(line)?[ 0-9]*\"?/, "")
+ sub(/^#(line)? [ 0-9]*\"?/, "")
sub(/\".*$/, "")
sub(/ [ 0-9]*$/, "")
Home |
Main Index |
Thread Index |
Old Index