🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bc.unix
Article #754

Re: Year 2000 problem!

#754
From: Curt Sampson
Date: Sat, 22 Jun 1996 00:00
27 lines
1381 bytes
In article <D19960621T40093X4433@grizzly.asl-labs.bc.ca>,
Brian Hampson <brian@asl-labs.bc.ca> wrote:
>Curt Sampson (curt@cynic.portal.ca) wrote:
>
>: There's not much to `getting around it'; UNIX itself does most of
>: its date work in type time_t, so just increasing it from 32 to 64
>: bits will do the trick quite nicely for some time to come.
>
>True, although on our UNIX system there is a 
>
>#define time_t int
>
>or some such...they'll have to do something about that <grin>...

Exactly. Change it to

	#define time_t long long

(or more likely a typedef) and you've fixed your problem. Or just recompile
on a DEC Alpha and the problem goes away all by itself.

cjs
-- 
Curt Sampson    curt@portal.ca		Info at http://www.portal.ca/
Internet Portal Services, Inc.	
Vancouver, BC   (604) 257-9400		De gustibus, aut bene aut nihil.
Technical Details
Message-ID: <4qh70t$8ru@cynic.portal.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4q7ref$hj1@reader1.reader.news.ozemail.net> <D19960619T32990X4433@grizzly.asl- <4qel9g$o7f@cynic.portal.ca> <D19960621T40093X4433@grizzly.asl-labs.bc.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114424,eb9ce83307037cc
X-Google-Attributes: gid114424,public
From: curt@cynic.portal.ca (Curt Sampson)
Subject: Re: Year 2000 problem!
Date: 1996/06/22
Message-ID: <4qh70t$8ru@cynic.portal.ca>
X-Deja-AN: 161573282
references: <4q7ref$hj1@reader1.reader.news.ozemail.net> <D19960619T32990X4433@grizzly.asl- <4qel9g$o7f@cynic.portal.ca> <D19960621T40093X4433@grizzly.asl-labs.bc.ca>
organization: Internet Portal Services, Inc.
newsgroups: bc.unix