From owner-freebsd-bugs Sat Jan 8 12:22:10 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id 22F2915072 for ; Sat, 8 Jan 2000 12:21:53 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.freebsd.dk [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.3) with ESMTP id VAA14919; Sat, 8 Jan 2000 21:21:34 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Ken Harrenstien Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/15981: rcp -p fails when times have high bit set In-reply-to: Your message of "Sat, 08 Jan 2000 12:10:02 PST." <200001082010.MAA69548@freefall.freebsd.org> Date: Sat, 08 Jan 2000 21:21:34 +0100 Message-ID: <14917.947362894@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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