fix open-file

This commit is contained in:
Koichi Nakamura 2022-01-15 15:39:57 +09:00
parent c1021a54ea
commit c6121e5cd1

View file

@ -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