tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Support for tv_sec=-1 (one second before the epoch) timestamps?



>> Not sure about that, but I agree that we should not extend the range
>> of time_t (aka "seconds since the epoch") to negative values.
> I'm not sure why anyone thinks that ship didn't sail years ago.

> % cal 6 1942

How is that relevant to time_t?

I don't think anyone is arguing that programs should not be able to
work with pre-1970 times.  The most I've seen anyone say is that time_t
need not be suitable for representing such times.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index