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