Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Jan 2000 21:21:34 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Ken Harrenstien <klh@netcom.com>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/15981: rcp -p fails when times have high bit set 
Message-ID:  <14917.947362894@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 08 Jan 2000 12:10:02 PST." <200001082010.MAA69548@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200001082010.MAA69548@freefall.freebsd.org>, Ken Harrenstien writes
:
> > Not under systems with signed time_t like FreeBSD.  Using %ul would
> > break times before the epoch (about 1970).
> 
> Sigh.  OK, I didn't realize this was a conscious decision in FreeBSD.
> 
> I assume there are good reasons for this (to me) surprising choice.

Yes: to be able to represent dates before 1970.

> If there is anything that explains the rationale, I would like to read
> about it.  In particular, what's the plan for Jan 18, 2038?

64bit time_t.

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14917.947362894>