Source-Changes-HG archive

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

[src/netbsd-1-6]: src/tools/host-mkdep Pull up revision 1.3 (requested by tho...



details:   https://anonhg.NetBSD.org/src/rev/392c0b2f2ef5
branches:  netbsd-1-6
changeset: 529245:392c0b2f2ef5
user:      he <he%NetBSD.org@localhost>
date:      Sun Nov 03 13:25:11 2002 +0000

description:
Pull up revision 1.3 (requested by thorpej in ticket #784):
  Delete a few things which appear in gcc 3.x's CPP output.

diffstat:

 tools/host-mkdep/host-mkdep.in |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 7b574ace752a -r 392c0b2f2ef5 tools/host-mkdep/host-mkdep.in
--- a/tools/host-mkdep/host-mkdep.in    Sun Nov 03 13:20:10 2002 +0000
+++ b/tools/host-mkdep/host-mkdep.in    Sun Nov 03 13:25:11 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: host-mkdep.in,v 1.2 2002/01/28 19:26:35 tv Exp $
+#      $NetBSD: host-mkdep.in,v 1.2.2.1 2002/11/03 13:25:11 he Exp $
 #
 # Copyright (c) 1991, 1993
 #      The Regents of the University of California.  All rights reserved.
@@ -91,6 +91,8 @@
                /^#/ {
                        # Be as tolerant as possible.
                        sub(/^#(line)? [ 0-9]*\"?/, "")
+                       sub(/^#(pragma).*/, "")
+                       sub(/^<.*/, "")
                        sub(/\".*$/, "")
                        sub(/ [ 0-9]*$/, "")
 



Home | Main Index | Thread Index | Old Index