[tor-bugs] #18184 [Core Tor/Tor]: Remove "support" for unsigned time_t

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 14 11:39:18 UTC 2017


#18184: Remove "support" for unsigned time_t
--------------------------+------------------------------------
 Reporter:  nickm         |          Owner:  nickm
     Type:  defect        |         Status:  closed
 Priority:  Low           |      Milestone:  Tor: 0.2.8.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Minor         |     Resolution:  fixed
 Keywords:                |  Actual Points:
Parent ID:                |         Points:  small
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by ryankung):

 Hi

 I'm trying build tor for QNX, and met this errors when run configures.

 "You have an unsigned time_t; Tor does not support that. Please tell the
 Tor developers about your interesting platform."

 And QNX is using a unsigned 32-bit/64-bit number for time_t.


 . The time_t data type is an unsigned 32-bit number, which extends this
 range for many applications through 2106. The kernel itself uses unsigned
 64-bit numbers to count the nanoseconds since January 1970, and so can
 handle dates through 2554.

 So I think we should reverse this ticket/merge.

 http://www.qnx.com/developers/docs/660/index.jsp?topic=%2Fcom.qnx.doc.neutrino.sys_arch%2Ftopic%2Fkernel_CLOCKANDTIMER.html

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18184#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list