From owner-cvs-all Wed Jun 14 12:37: 6 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 135F237BD10; Wed, 14 Jun 2000 12:37:04 -0700 (PDT) (envelope-from dcs@FreeBSD.org) Received: (from dcs@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA25172; Wed, 14 Jun 2000 12:37:03 -0700 (PDT) (envelope-from dcs@FreeBSD.org) Message-Id: <200006141937.MAA25172@freefall.freebsd.org> From: "Daniel C. Sobral" Date: Wed, 14 Jun 2000 12:37:03 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/common interp.c interp_forth.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG dcs 2000/06/14 12:37:03 PDT Modified files: sys/boot/common interp.c interp_forth.c Log: Remove the setting of sourceid from bf_vm(), as bf_vm() really has no clue. Set sourceid to 0 when booting, which is the correct setting for stdin. Set sourceid to an arbitrary fd when include'ing, preserving and restoring the previous sourceid. This is possibly broken(), as 0 is a valid fd. Maybe we should +1 to this value. This fixes the version problem widely reported. Revision Changes Path 1.23 +8 -2 src/sys/boot/common/interp.c 1.17 +1 -5 src/sys/boot/common/interp_forth.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message