From owner-freebsd-bugs Wed Jan 27 23:20:11 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA28636 for freebsd-bugs-outgoing; Wed, 27 Jan 1999 23:20:11 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA28586 for ; Wed, 27 Jan 1999 23:20:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id XAA99195; Wed, 27 Jan 1999 23:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Wed, 27 Jan 1999 23:20:01 -0800 (PST) Message-Id: <199901280720.XAA99195@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: dcs@newsguy.com Subject: kern/9412 wasn't quite on the mark... Reply-To: dcs@newsguy.com Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/9412; it has been noted by GNATS. From: dcs@newsguy.com To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: kern/9412 wasn't quite on the mark... Date: Thu, 28 Jan 1999 16:09:23 +0900 (JST) >Submitter-Id: current-users >Originator: Daniel C. Sobral >Organization: >Confidential: no >Synopsis: ficlExecFD wasn't modified to deal with changes in kern/9412 >Severity: serious >Priority: medium >Category: bin >Release: FreeBSD 4.0-CURRENT i386 >Class: sw-bug >Environment: Current since kern/9412 (EXCEPTION word set) got in. >Description: It turns out a bug I was blaming on ficl was actually my fault. When EXCEPTION word set got in, the ordering of the VM_* results was changed, to conform with ANS Forth standard. Unfortunately, ficlExecFD depended on that ordering, and didn't get modified. Say... about these pointy hats... are they committers' only? 'cause I think I'll be needing a load of them... (see next (or previous, depending how they get queued) PR...) >How-To-Repeat: cp /usr/share/examples/bootforth/* /boot reboot >Fix: Apply the following fix: --- src/sys/boot/ficl/ficl.c 1999/01/25 04:37:06 1.7 +++ src/sys/boot/ficl/ficl.c 1999/01/28 06:34:10 @@ -374,7 +374,8 @@ break; continue; } - if ((rval = ficlExec(pVM, cp, i)) >= VM_ERREXIT) + rval = ficlExec(pVM, cp, i); + if(rval != VM_QUIT && rval != VM_USEREXIT && rval != VM_OUTOFTEXT) { pVM->sourceID = id; vmThrowErr(pVM, "ficlExecFD: Error at line %d", nLine); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message