On Fri, 2004-07-02 at 02:22, Bernd Paysan wrote:
> Hm, the Forth standard does not specify append. I append to files by opening 
> them r/w, and then seeking to the end (i.e. fd file-size throw fd 
> reposition-file throw). A change to Gforth would be trivial, just add the 

That will do, thanks.

> necessary C modes to fileattr in engine/main.c ("ab", "ab", "a+b", "a+b"), 
> and define the constants in kernel/files.fs (6 for w/a, 8 for rw/a).

I'll write such a patch if you want it. Otherwise I will just use your 
solution that should work on a standard Forth.

-- John.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to