io.unix.files: update open-read

db4
Eduardo Cavazos 2008-05-13 18:07:31 -05:00
parent 6eb3b6b4f7
commit a437904449
1 changed files with 1 additions and 2 deletions

View File

@ -17,8 +17,7 @@ M: unix cd ( path -- )
: read-flags O_RDONLY ; inline
: open-read ( path -- fd )
O_RDONLY file-mode open dup io-error ;
: open-read ( path -- fd ) O_RDONLY file-mode open-file ;
M: unix (file-reader) ( path -- stream )
open-read <input-port> ;