RE: Definition of time_t changed from signed to unsigned...
July 13, 2004
3:46 p.m.
The problem is that the timezone subsystem seems to expect time_t to be signed. There are a number of functions that only work if time_t is signed. E.g. function localsub() in file localtime.c.
The presence of the comment... /* ** If time_t is signed, then 0 is just above the median, ** assuming two's complement arithmetic. ** If time_t is unsigned, then (1 << bits) is just above the median. */ ...is a reminder that some effort went into ensuring that the stuff in localtime.c would work whether time_t was signed or unsigned. I'd love to get details on what's going wrong with localsub when time_t is unsigned. --ado
7962
Age (days ago)
7962
Last active (days ago)
0 comments
1 participants
participants (1)
-
Olson, Arthur David (NIH/NCI)