[MacPorts] #68007: legacy-support: one of CLOCK_MONOTONIC_RAW and CLOCK_UPTIME_RAW is incorrect

MacPorts noreply at macports.org
Tue Aug 22 14:25:44 UTC 2023


#68007: legacy-support: one of CLOCK_MONOTONIC_RAW and CLOCK_UPTIME_RAW is
incorrect
--------------------+----------------------------
 Reporter:  jmroot  |      Owner:  cjones051073
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  legacy-support
--------------------+----------------------------
 Following on from [https://github.com/macports/macports-legacy-
 support/pull/58#issuecomment-1576912010]:

 `CLOCK_MONOTONIC_RAW` is documented to increment while the system is
 asleep, and `CLOCK_UPTIME_RAW` is documented to not do that. But they
 currently share the same implementation in legacy-support's
 `clock_gettime`. So one of the two must be behaving incorrectly.

-- 
Ticket URL: <https://trac.macports.org/ticket/68007>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list