Changeset 509 for trunk/thune/series.c

Show
Ignore:
Timestamp:
02/09/08 02:35:22 (10 months ago)
Author:
krobillard
Message:

Added hold/release macros. ur_readDir() now holds its result block.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/series.c

    r508 r509  
    23802380                if( it != end ) 
    23812381                { 
    2382                     hold = (deep == 1) ? ur_hold( ut, UT_BLOCK, blkN ) : 
    2383                                          UR_INVALID_HOLD; 
     2382                    hold = (deep == 1) ? ur_holdBlock(blkN) : UR_INVALID_HOLD; 
    23842383                    do 
    23852384                    { 
     
    23902389 
    23912390                    if( hold != UR_INVALID_HOLD ) 
    2392                         ur_release( ut, hold ); 
     2391                        ur_release( hold ); 
    23932392                } 
    23942393            }