Thread: 2038.
View Single Post
  #7   (View Single Post)  
Old 27th March 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
Join Date: May 2008
Location: USofA
Posts: 1,546

Hmm, I always thought what happened on integer overflow was purely a hardware dependent thing. (which I always hoped rolls over or segfaults on the majority of architectures lol)

Originally Posted by BSDfan666 View Post
I suspect that when the decision was made to use a signed 32-bit integer for time_t, larger types were either unavailable or inefficient..
I would reckon at the time, 32-bit integers would have been like picking a 64-bit integer today: be happy if you have it available, but don't bet on it to be a chorts.
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.

Last edited by TerryP; 27th March 2009 at 07:50 PM.
Reply With Quote