Changeset 510 for trunk/thune/files.c
- Timestamp:
- 02/10/08 23:53:46 (9 months ago)
- Files:
-
- 1 modified
-
trunk/thune/files.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/files.c
r483 r510 317 317 UPortDevice* dev = _devicePtr( ut, ur_s_prev(tos) ); 318 318 if( dev ) 319 dev->read( ut, tos /*, part*/);319 dev->read( ut, tos, part ); 320 320 return; 321 321 } … … 1099 1099 1100 1100 1101 // (port buf len-- port buf)1102 UR_CALL( _fileRead)1101 // (port buf -- port buf) 1102 void _fileRead( UThread* ut, UCell* tos, int part ) 1103 1103 { 1104 1104 UBlock* blk; … … 1122 1122 1123 1123 1124 len = READ_BUF_SIZE;1124 len = part ? part : READ_BUF_SIZE; 1125 1125 1126 1126 if( ur_is(tos, UT_BINARY) || ur_is(tos, UT_STRING) )
