Changeset 184 for trunk/thune/unix
- Timestamp:
- 06/12/06 01:58:22 (3 years ago)
- Files:
-
- 1 modified
-
trunk/thune/unix/os.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/unix/os.c
r131 r184 57 57 logic = 1; 58 58 59 ur_ setType( tos, UT_LOGIC );59 ur_initType( tos, UT_LOGIC ); 60 60 ur_logic(tos) = logic; 61 61 } … … 87 87 memCpy( str->ptr.c, tmp, len ); 88 88 89 ur_ setType( tos, UT_STRING /*UT_FILE*/ );89 ur_initType( tos, UT_STRING /*UT_FILE*/ ); 90 90 ur_setSeries( tos, binN, 0 ); 91 91 return; … … 129 129 return -1; 130 130 131 ur_ setType( res, UT_TIME );131 ur_initType( res, UT_TIME ); 132 132 ur_seconds(res) = (double) buf.st_mtime; 133 133 return 0; … … 168 168 ur_seconds(tos) = ((double) tp.tv_sec) + ((double) tp.tv_usec) * 0.000001; 169 169 170 ur_ setType( tos, UT_TIME );170 ur_initType( tos, UT_TIME ); 171 171 } 172 172 … … 202 202 closedir( dir ); 203 203 204 ur_ setType(res, UT_BLOCK);204 ur_initType(res, UT_BLOCK); 205 205 ur_setSeries(res, blkN, 0); 206 206 }
