mirror of
https://github.com/nineties/planckforth
synced 2024-12-25 21:58:22 +01:00
fix open-file
This commit is contained in:
parent
c1021a54ea
commit
c6121e5cd1
1 changed files with 1 additions and 1 deletions
|
@ -2527,7 +2527,7 @@ need-defined (write)
|
|||
need-defined (read)
|
||||
|
||||
: open-file ( c-addr fam -- file e )
|
||||
2dup (open) dup -1 = if
|
||||
2dup (open) dup 0< if
|
||||
( c-addr fam fd )
|
||||
3drop 0 OPEN-FILE-ERROR exit
|
||||
then
|
||||
|
|
Loading…
Reference in a new issue