Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/config Nuke the work-around for non-normalized incl...



details:   https://anonhg.NetBSD.org/src/rev/0c07429b584d
branches:  trunk
changeset: 474510:0c07429b584d
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Jul 09 02:37:26 1999 +0000

description:
Nuke the work-around for non-normalized include paths.  They have all
been fixed up.

diffstat:

 usr.sbin/config/scan.l |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (21 lines):

diff -r 336eae42199d -r 0c07429b584d usr.sbin/config/scan.l
--- a/usr.sbin/config/scan.l    Fri Jul 09 02:32:28 1999 +0000
+++ b/usr.sbin/config/scan.l    Fri Jul 09 02:37:26 1999 +0000
@@ -1,5 +1,5 @@
 %{
-/*     $NetBSD: scan.l,v 1.23 1999/07/07 00:02:09 thorpej Exp $        */
+/*     $NetBSD: scan.l,v 1.24 1999/07/09 02:37:26 thorpej Exp $        */
 
 /*
  * Copyright (c) 1992, 1993
@@ -217,10 +217,6 @@
                setupdirs();
        }
 
-       /* Kludge until files.* files are fixed. */
-       if (conditional == 0 && strncmp(fname, "../../../", 9) == 0)
-               fname += 9;
-
        s = (*fname == '/') ? strdup(fname) : sourcepath(fname);
        if ((fp = fopen(s, "r")) == NULL) {
                if (conditional == 0)



Home | Main Index | Thread Index | Old Index