Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/config Fix oops in r1.30.



details:   https://anonhg.NetBSD.org/src/rev/fadfecc523c3
branches:  trunk
changeset: 333784:fadfecc523c3
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sun Nov 16 15:10:54 2014 +0000

description:
Fix oops in r1.30.

diffstat:

 usr.bin/config/mkmakefile.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 361dea28c84e -r fadfecc523c3 usr.bin/config/mkmakefile.c
--- a/usr.bin/config/mkmakefile.c       Sun Nov 16 14:57:59 2014 +0000
+++ b/usr.bin/config/mkmakefile.c       Sun Nov 16 15:10:54 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mkmakefile.c,v 1.31 2014/11/16 14:57:59 uebayasi Exp $ */
+/*     $NetBSD: mkmakefile.c,v 1.32 2014/11/16 15:10:54 uebayasi Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -45,7 +45,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: mkmakefile.c,v 1.31 2014/11/16 14:57:59 uebayasi Exp $");
+__RCSID("$NetBSD: mkmakefile.c,v 1.32 2014/11/16 15:10:54 uebayasi Exp $");
 
 #include <sys/param.h>
 #include <ctype.h>
@@ -499,7 +499,6 @@
                        continue;
                prologue = prefix = sep = "";
                if (*fi->fi_path != '/') {
-               } else {
                        if (fi->fi_prefix != NULL) {
                                prologue = prefix_prologue(fi->fi_prefix);
                                prefix = fi->fi_prefix;



Home | Main Index | Thread Index | Old Index