Changeset 3205
- Timestamp:
- Aug 20, 2012 12:37:59 PM (9 months ago)
- File:
-
- 1 edited
-
cpu/x86/pc/olpc/via/fsupdate.fth (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cpu/x86/pc/olpc/via/fsupdate.fth
r3204 r3205 134 134 ; 135 135 136 0 2value file-bytes 136 137 : data: ( "filename" -- ) 137 138 safe-parse-word ( filename$ ) … … 147 148 true " " ?nand-abort 148 149 then to filefd ( ) 150 filefd file-size " Can't size file" ?nand-abort to file-bytes 149 151 linefeed filefd force-line-delimiter 150 152 true to secure-fsupdate? 151 153 ; 152 154 153 0 2value file-bytes154 155 : size: ( "bytes" -- ) 155 156 ?compare-spec-line … … 308 309 309 310 ['] open-nand catch ?dup if .error security-failure then ( adr len ) 310 311 [ also nand-commands ] dup s>d to file-bytes [ previous ]312 311 313 312 \ clear-context nand-commands
Note: See TracChangeset
for help on using the changeset viewer.
