Date: Wed, 14 Jun 2000 12:37:03 -0700 (PDT) From: "Daniel C. Sobral" <dcs@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/common interp.c interp_forth.c Message-ID: <200006141937.MAA25172@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006141937.MAA25172>
