back this directory up a day, systems won't even boot (rc.subr splodes)

suggested back-to-the-drawing-board test: $ echo "${PWD:-notlikely}"
This commit is contained in:
ross 2002-02-12 06:39:10 +00:00
parent c8c0ad6621
commit 79f9ab6771
3 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.55 2002/02/11 18:55:10 christos Exp $
# $NetBSD: Makefile,v 1.56 2002/02/12 06:39:10 ross Exp $
# @(#)Makefile 8.4 (Berkeley) 5/5/95
.include <bsd.own.mk>
@ -19,7 +19,7 @@ DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP}
LFLAGS= -8 # 8-bit lex scanner for arithmetic
YFLAGS= -d
CPPFLAGS+=-DSHELL -I. -I${.CURDIR} # -DDEBUG
CPPFLAGS+=-DSHELL -I. -I${.CURDIR}
.ifdef SMALLPROG
CPPFLAGS+=-DSMALL

View File

@ -1,4 +1,4 @@
/* $NetBSD: parser.c,v 1.49 2002/02/11 18:57:19 christos Exp $ */
/* $NetBSD: parser.c,v 1.50 2002/02/12 06:39:10 ross Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)parser.c 8.7 (Berkeley) 5/16/95";
#else
__RCSID("$NetBSD: parser.c,v 1.49 2002/02/11 18:57:19 christos Exp $");
__RCSID("$NetBSD: parser.c,v 1.50 2002/02/12 06:39:10 ross Exp $");
#endif
#endif /* not lint */
@ -1006,7 +1006,7 @@ readtoken1(firstc, syntax, eofmark, striptabs)
PARSESUB(); /* parse substitution */
break;
case CENDVAR: /* '}' */
if (varnest > 0 && !dblquote) {
if (varnest > 0) {
varnest--;
USTPUTC(CTLENDVAR, out);
} else {

View File

@ -1,4 +1,4 @@
/* $NetBSD: show.c,v 1.19 2002/02/11 18:54:30 christos Exp $ */
/* $NetBSD: show.c,v 1.20 2002/02/12 06:39:11 ross Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)show.c 8.3 (Berkeley) 5/4/95";
#else
__RCSID("$NetBSD: show.c,v 1.19 2002/02/11 18:54:30 christos Exp $");
__RCSID("$NetBSD: show.c,v 1.20 2002/02/12 06:39:11 ross Exp $");
#endif
#endif /* not lint */
@ -201,8 +201,8 @@ sharg(arg, fp)
if (subtype == VSLENGTH)
putc('#', fp);
while (*++p != '=')
putc(*p, fp);
while (*p != '=')
putc(*p++, fp);
if (subtype & VSNUL)
putc(':', fp);