From owner-freebsd-hackers Thu Aug 13 21:06:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA14427 for freebsd-hackers-outgoing; Thu, 13 Aug 1998 21:06:39 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from nexus.astro.psu.edu (nexus.astro.psu.edu [128.118.147.20]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id VAA14422 for ; Thu, 13 Aug 1998 21:06:37 -0700 (PDT) (envelope-from mph@astro.psu.edu) Received: from mstar.astro.psu.edu by nexus.astro.psu.edu (4.1/Nexus-1.3) id AA18135; Fri, 14 Aug 98 00:06:12 EDT Received: by mstar.astro.psu.edu (SMI-8.6/Client-1.3) id AAA25065; Fri, 14 Aug 1998 00:06:05 -0400 Message-Id: <19980814000605.A25012@astro.psu.edu> Date: Fri, 14 Aug 1998 00:06:05 -0400 From: Matthew Hunt To: Ivan Brawley , hackers@FreeBSD.ORG Subject: Re: 64-bit time_t References: <199808131721.KAA00864@antipodes.cdrom.com> <199808140040.KAA14156@mad.ct> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93i In-Reply-To: <199808140040.KAA14156@mad.ct>; from Ivan Brawley on Fri, Aug 14, 1998 at 10:10:02AM +0930 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Aug 14, 1998 at 10:10:02AM +0930, Ivan Brawley wrote: > Question: What is wrong with using an unsigned long for time_t, instead of > long (which is then assumed signed). man 3 time: Upon successful completion, time() returns the value of time. Otherwise a value of ((time_t) -1) is returned and the global variable errno is set to indicate the error. -- Matthew Hunt * Inertia is a property of matter. http://www.pobox.com/~mph/pgp.key for PGP public key 0x67203349. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message