Re: makedev

From: Oliver Fromme <olli(at)secnetix.de>
Date: Mon, 24 Sep 2001 11:52:37 +0200 (CEST)

Oleg Osyka <oleg(at)osyka.de> wrote:
> nach sh MAKEDEV all, kriege ich:
>
> # sh MAKEDEV all
> MAKEDEV: arith: syntax error:
> …^\†……………^\†"
> bad node: mknod i4bteld1
>
> Vor Update hatte ich keine solche Meldungen.
> Was soll ich tun, um diesen Fehler zu beseitigen?

Index: expand.c
===================================================================
RCS file: /usr/cvs/FreeBSD/src/bin/sh/expand.c,v
retrieving revision 1.31.2.1
diff -u -r1.31.2.1 expand.c
--- expand.c 2000/06/14 13:42:25 1.31.2.1
+++ expand.c 2001/09/21 10:49:11
@@ -397,7 +397,7 @@
         CHECKSTRSPACE(12 - 2, expdest);
         USTPUTC('\0', expdest);
         start = stackblock();
- p = expdest;
+ p = expdest - 1;
         while (*p != CTLARI && p >= start)
                 --p;
         if (*p != CTLARI)

Gru
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 Mnchen
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"All that we see or seem is just a dream within a dream" (E. A. Poe)
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 24 Sep 2001 - 11:52:39 CEST

search this site