gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gforth] Must have Forth in search-order?


From: Bernd Paysan
Subject: Re: [gforth] Must have Forth in search-order?
Date: Fri, 26 Apr 2013 13:58:53 +0200
User-agent: KMail/4.10.2 (Linux/3.7.10-1.1-desktop; KDE/4.10.2; x86_64; ; )

Am Donnerstag, 25. April 2013, 20:00:10 schrieb Josh Grams:
> If you pass code or a file on the command-line which produces a search
> order which does not contain FORTH-WORDLIST, recent CVS versions seem to
> crash before running bootmessage and accepting keyboard input.
> 
> gforth -e 'wordlist 1 set-order'
> 
> 0.7.0 was fine...so this is new at some point...

Yes, things changed a bit, because I want Gforth to work as library in a C 
program, too.  That means I separated the startup process, and call 
bootmessage through gforth_find+gforth_execute before doing gforth_quit.  I 
added now code on Gforth git head that doesn't execute a notfound (0) return 
value.

I.e. you won't get a bootmessage in your case, but it won't crash, either.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]