From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f48e5,1daafec1c05028fa X-Google-Attributes: gidf48e5,public X-Google-Thread: fee84,1daafec1c05028fa X-Google-Attributes: gidfee84,public X-Google-Thread: fb4a0,1daafec1c05028fa X-Google-Attributes: gidfb4a0,public From: WB Subject: Re: How will UNIX solve the 2038 bug? Date: 1998/08/28 Message-ID: <35E5FB01.8CBB5C84@nospam.com>#1/1 X-Deja-AN: 385465173 Content-Transfer-Encoding: 7bit References: <6s48de$tu8$1@nnrp1.dejanews.com> Content-Type: text/plain; charset=us-ascii Organization: AT&T WorldNet Services Mime-Version: 1.0 Newsgroups: comp.sys.sgi,comp.unix.unixware,comp.unix.osf.osf1 The consensus seem to be to increase time_t to 64 bits. This will keep the current semantics of time_t (0 = 1/1/1970 etc.) but this breaks backward binary compatibilty. Some vendors have already implemented 64 bit time_t in their new 64 bit OS's (Sun & HP). Compaq has not done his yet but I suspect and suggest they will bump it up to 64 bits - I would prefer in DU 5.0, but I think they are concerned with binary compatibilty... //WB walter.regan@fulcrum.com wrote: > > I realize the year 2038 is a long way off. (If I'm still above ground, I'll > probably be in a home by then). But the year 2000 was once a long way off too > and it is not until now that people are scrambling to prepare for its > associated technical problems. > > A similar panic can be avoided in the late 2030's if we start preparing now. > However, there is more that one solution to the 2038 problem. For example, > making UNIX system time an unsigned long integer would defer the problem to > 2106. Going to a 64-bit integer could defer it much longer. But, then, would > we still use units of seconds and would year zero still be 1970? > > With these things in mind, I ask the following question: > > Is there any consensus among those who develop UNIX operating systems as to > which approach will ultimately be adopted to solve the 2038 bug? > > -----== Posted via Deja News, The Leader in Internet Discussion ==----- > http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum