Changeset 23472
- Timestamp:
- 12/19/07 14:29:16 (12 months ago)
- Files:
-
- 1 modified
-
trunk/launchd/src/launchd_runtime.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/launchd/src/launchd_runtime.c
r23471 r23472 113 113 static void do_file_init(void) __attribute__((constructor)); 114 114 static mach_timebase_info_data_t tbi; 115 static double tbi_float_val; 115 116 116 117 static const int sigigns[] = { SIGHUP, SIGINT, SIGPIPE, SIGALRM, SIGTERM, … … 1584 1585 } else { 1585 1586 double d = o; 1586 d *= tbi.numer; 1587 d /= tbi.denom; 1587 d *= tbi_float_val; 1588 1588 o = d; 1589 1589 } … … 1597 1597 { 1598 1598 launchd_assert(mach_timebase_info(&tbi) == 0); 1599 } 1600 1599 tbi_float_val = tbi.numer; 1600 tbi_float_val /= tbi.denom; 1601 } 1602

