Changeset 98 for trunk/orca/unix
- Timestamp:
- 03/23/06 01:35:12 (3 years ago)
- Files:
-
- 1 modified
-
trunk/orca/unix/os.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/orca/unix/os.c
r71 r98 75 75 76 76 orSetTF( res, OT_TIME ); 77 res->time.sec = buf.st_mtime; 78 res->time.usec = 0; 77 orSeconds(res) = buf.st_mtime; 79 78 return 0; 80 79 } … … 156 155 orSetTF( res, OT_DATE ); 157 156 158 res->time.sec = tp.tv_sec; 159 res->time.usec = tp.tv_usec; 157 orSeconds(res) = tp.tv_sec + (tp.tv_usec * 0.000001); 160 158 } 161 159
