Changeset 509 for trunk/thune/unix/os.c
- Timestamp:
- 02/09/08 02:35:22 (10 months ago)
- Files:
-
- 1 modified
-
trunk/thune/unix/os.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/unix/os.c
r458 r509 247 247 UCell* cell; 248 248 UIndex blkN; 249 U Block* blk;249 UIndex hold; 250 250 251 251 blkN = ur_makeBlock( 0 ); 252 blk = ur_blockPtr( blkN );252 hold = ur_holdBlock( blkN ); 253 253 254 254 while( (entry = readdir( dir )) ) … … 259 259 260 260 // Mark cell as unset in case GC is called by ur_makeString. 261 cell = ur_appendCell( blk, UT_UNSET );261 cell = ur_appendCell( ur_blockPtr( blkN ), UT_UNSET ); 262 262 ur_makeString( cell, cp, -1 ); 263 263 } 264 264 265 265 closedir( dir ); 266 267 ur_release( hold ); 266 268 267 269 ur_initType(res, UT_BLOCK);
