[tor-bugs] #21735 [Core Tor/Tor]: Add support for unsigned time_t, to support QNX
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Mar 14 12:57:56 UTC 2017
#21735: Add support for unsigned time_t, to support QNX
------------------------------+------------------------------
Reporter: nickm | Owner:
Type: enhancement | Status: new
Priority: Low | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+------------------------------
On #18184, ryankung reports that QNX has an unsigned time_t, and therefore
is unsupported by Tor.
To support unsigned time_t, someone will need to audit all our uses of
time_t, and make sure that we don't do any signed/unsigned comparisons
with it, that we can't underflow it, and that we don't use any negative
sentinel values. Then we can revert the configuration code in #18184 that
blocked compilation when time_t is unsigned.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21735>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list