Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/config FIT_NOPROLOGUE is never set anywhere.



details:   https://anonhg.NetBSD.org/src/rev/31c394726b86
branches:  trunk
changeset: 802940:31c394726b86
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Thu Oct 09 19:24:36 2014 +0000

description:
FIT_NOPROLOGUE is never set anywhere.

diffstat:

 usr.bin/config/defs.h       |  3 +--
 usr.bin/config/mkmakefile.c |  4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 61cbf2f623ec -r 31c394726b86 usr.bin/config/defs.h
--- a/usr.bin/config/defs.h     Thu Oct 09 19:22:31 2014 +0000
+++ b/usr.bin/config/defs.h     Thu Oct 09 19:24:36 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: defs.h,v 1.51 2014/10/09 19:20:56 uebayasi Exp $       */
+/*     $NetBSD: defs.h,v 1.52 2014/10/09 19:24:36 uebayasi Exp $       */
 
 /*
  * Copyright (c) 1992, 1993
@@ -324,7 +324,6 @@
        TAILQ_ENTRY(files) fit_anext;   /* next file in attr */
 };
 /* Anything less than 0x10 is sub-type specific */
-#define FIT_NOPROLOGUE  0x10    /* Don't prepend $S/ */
 #define FIT_FORCESELECT 0x20    /* Always include this file */
 
 /*
diff -r 61cbf2f623ec -r 31c394726b86 usr.bin/config/mkmakefile.c
--- a/usr.bin/config/mkmakefile.c       Thu Oct 09 19:22:31 2014 +0000
+++ b/usr.bin/config/mkmakefile.c       Thu Oct 09 19:24:36 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mkmakefile.c,v 1.22 2014/10/09 19:22:31 uebayasi Exp $ */
+/*     $NetBSD: mkmakefile.c,v 1.23 2014/10/09 19:24:36 uebayasi Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -269,7 +269,7 @@
 static const char *
 filetype_prologue(struct filetype *fit)
 {
-       if (fit->fit_flags & FIT_NOPROLOGUE || *fit->fit_path == '/')
+       if (*fit->fit_path == '/')
                return ("");
        else
                return ("$S/");



Home | Main Index | Thread Index | Old Index