From: eggert@twinsun.com (Paul Eggert)
Subject: Re: Will Sun leave the HW arena?
Date: 1998/05/03 [thread overview]
Message-ID: <6iihrb$9aa$1@shade.twinsun.com> (raw)
In-Reply-To: 6h7mde$pj6$1@ftel.ftel.co.uk
Ian G Batten <I.G.Batten@batten.eu.org> writes:
>And if anyone's managed to write code that _relies_ on time_t being 32
>bits, I'd be interested to see it...
Unfortunately there's a lot of code like that, even now.
Some algorithms are based on 32 bit time_t
and will take some thinking to migrate to 64 bits.
An example of this sort of problem can be found in the public domain
time zone code at ftp://elsie.nci.nih.gov/pub/, which is widely used in
various systems, including BSD, DJGPP/Windows, GNU/Linux, HP-UX, Irix,
SunOS, and UnixWare. Its implementation uses files that store times as
32-bit integers. The code still ``works'', in some sense,
with 64 bit time_t, as long as you stick to time_t values that fit in
32 bits; but it stops working once you get outside this range, and hence it
does not work for time_t values after they wrap around in the year 2038.
Fixing this will require changing the zoneinfo file format,
something people are loath to do, and which hasn't been done yet
on any system as far as I know.
next prev parent reply other threads:[~1998-05-03 4:00 UTC|newest]
Thread overview: 195+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <6dos27$gr8@eve.enteract.com>
[not found] ` <3516F777.4068@Japan.ML.COM>
[not found] ` <3517E01A.A166EDDD@mitretek.org>
[not found] ` <6f9ul8$84s$10@blue.hex.net>
[not found] ` <EqDwor.8st@bilver.magicnet.net>
[not found] ` <6fbuni$n7$1@nnrp1.dejanews.com>
[not found] ` <6fe0bf$46d$1@mailhost.sign-tronic.dk>
[not found] ` <6fjdf0$e10$1@nnrp1.dejanews.com>
1998-03-30 5:00 ` Will Sun leave the HW arena? Erik Corry
1998-03-30 5:00 ` Darin Johnson
1998-03-30 5:00 ` Terry Shannon
1998-03-30 5:00 ` Mark Maurer
1998-03-30 5:00 ` Ralph Finch
1998-03-30 5:00 ` BRUCE FAUST
1998-03-30 5:00 ` Terry Shannon
1998-04-01 5:00 ` Stuart Krivis
1998-04-02 5:00 ` Terry Shannon
1998-04-02 5:00 ` Steve Kappel
1998-04-02 5:00 ` Terry Shannon
1998-04-02 5:00 ` Steve Kappel
1998-04-03 5:00 ` Terry Shannon
1998-04-03 5:00 ` Butch
1998-04-04 5:00 ` Terry Shannon
1998-04-13 4:00 ` Casper H.S. Dik - Network Security Engineer
1998-04-13 4:00 ` Jeffrey J. Potoff
1998-04-15 4:00 ` Andrew Harrison SUNUK Consultancy
1998-04-16 4:00 ` Matthias Dolder
1998-04-16 4:00 ` Andrew Harrison SUNUK Consultancy
1998-04-17 4:00 ` Matthias Dolder
1998-04-20 4:00 ` Andrew Harrison SUNUK Consultancy
1998-04-23 4:00 ` Matthias Dolder
1998-04-19 4:00 ` Dave Weatherall
1998-04-16 4:00 ` Casper H.S. Dik - Network Security Engineer
1998-04-17 4:00 ` Mark & Suzanne (gcs might work)
1998-04-17 4:00 ` Casper H.S. Dik - Network Security Engineer
1998-04-18 4:00 ` Paul DeMone
1998-04-18 4:00 ` Casper H.S. Dik - Network Security Engineer
1998-04-18 4:00 ` Paul DeMone
1998-04-18 4:00 ` Anil Thomas Maliyekkel
1998-04-19 4:00 ` Dave Weatherall
1998-04-17 4:00 ` Matthias Dolder
1998-04-20 4:00 ` Andrew Harrison SUNUK Consultancy
1998-04-20 4:00 ` Dirk Grunwald
[not found] ` <spam-ya024 <6h2pla$2e9@flonk.uk.sun.com>
1998-04-15 4:00 ` Bill Moyer
1998-04-16 4:00 ` Terry Shannon
1998-04-17 4:00 ` Casper H.S. Dik - Network Security Engineer
1998-04-17 4:00 ` Mark & Suzanne (gcs might work)
1998-04-17 4:00 ` R!ch Teer
1998-04-17 4:00 ` Casper H.S. Dik - Network Security Engineer
[not found] ` <353673FA.2 <35375A0B.446B@s054.aone.net.au>
1998-04-17 4:00 ` Ian G Batten
1998-05-03 4:00 ` Paul Eggert [this message]
[not found] ` <353673fa.2f58@world.std.com>
1998-04-17 4:00 ` Rob Young
[not found] ` <353613ED.6 <qxpbttwtm1m.fsf@foobar.cs.colorado.edu>
1998-04-21 4:00 ` Ian G Batten
1998-04-21 4:00 ` Bill Moyer
[not found] ` <353757C7.2 <casper.892851989@uk-usenet.uk.sun.com>
1998-04-22 4:00 ` Burkhard Neidecker-Lutz
1998-04-23 4:00 ` Dan Pop
1998-04-27 4:00 ` Burkhard Neidecker-Lutz
[not found] ` <spam-ya024 <6hfv49$lpq@flonk.uk.sun.com>
1998-04-23 4:00 ` Donal K. Fellows
1998-04-24 4:00 ` Andrew Harrison SUNUK Consultancy
1998-04-24 4:00 ` Donal K. Fellows
1998-04-24 4:00 ` Andrew Harrison SUNUK Consultancy
1998-04-24 4:00 ` Terry Shannon
1998-04-30 4:00 ` Matthias Dolder
1998-04-13 4:00 ` Casper H.S. Dik - Network Security Engineer
[not found] ` <caspe <35364D66.2284@rhea.umd.edu>
1998-04-17 4:00 ` Ian G Batten
1998-04-27 4:00 ` Jeffrey J. Potoff
1998-04-28 4:00 ` Ian G Batten
1998-04-29 4:00 ` Jeffrey J. Potoff
1998-04-30 4:00 ` Christopher Browne
1998-04-30 4:00 ` o
1998-05-05 4:00 ` Jeffrey J. Potoff
1998-04-30 4:00 ` Scott Walters
1998-04-30 4:00 ` Galaxy Stuff (Re: Will Sun leave the HW arena?) Terry Shannon
[not found] ` <caspe <3536AB41.263650D9@zuo.dec.com>
1998-04-20 4:00 ` Will Sun leave the HW arena? sconleynospam
1998-04-21 4:00 ` Steve Kappel
1998-04-23 4:00 ` Steve Conley
1998-04-24 4:00 ` Steve Kappel
1998-04-25 4:00 ` Karsten M. Self
[not found] ` <caspe <6hl1vd$251$1@aquila.mdx.ac.uk>
1998-04-24 4:00 ` Chris Ulrich
1998-04-24 4:00 ` Terry Shannon
1998-04-25 4:00 ` Eric Osborne
1998-04-28 4:00 ` Andrew Harrison SUNUK Consultancy
1998-04-28 4:00 ` Brad Hughes
1998-04-28 4:00 ` Larry Kilgallen
1998-04-28 4:00 ` Casper H.S. Dik - Network Security Engineer
1998-04-28 4:00 ` Larry Kilgallen
1998-04-28 4:00 ` ChannelDude
1998-04-29 4:00 ` Ian G Batten
1998-04-29 4:00 ` Terry Shannon
1998-04-30 4:00 ` Joshua Cope
1998-04-30 4:00 ` Terry Shannon
[not found] ` <casper.893839707@uk-usenet.uk.sun.com>
1998-04-30 4:00 ` Joshua Cope
1998-04-28 4:00 ` Terry Shannon
1998-04-29 4:00 ` Andrew Harrison SUNUK Consultancy
1998-05-01 4:00 ` Joshua Cope
1998-05-01 4:00 ` Steve Kappel
1998-05-01 4:00 ` Terry Shannon
[not found] ` <casper.8941 <1998may2.110235.1@eisner>
1998-05-02 4:00 ` Rob Young
1998-05-02 4:00 ` Michael David Jones
1998-05-02 4:00 ` Casper H.S. Dik - Network Security Engineer
1998-05-02 4:00 ` Larry Kilgallen
1998-05-02 4:00 ` Terry Shannon
1998-05-02 4:00 ` Lupe Christoph
1998-05-03 4:00 ` Terry Shannon
[not found] ` <6ifgpl$85i$ <354B5E16.7CC6@world.std.com>
1998-05-03 4:00 ` Casper H.S. Dik - Network Security Engineer
1998-05-03 4:00 ` Lupe Christoph
1998-05-04 4:00 ` Joshua Cope
1998-05-01 4:00 ` Michael David Jones
1998-05-03 4:00 ` Dynamic Domains and sliced bread (was Re: Will Sun leave the HW arena?) Bill Walker
1998-05-10 4:00 ` Paul Repacholi ( prep )
1998-04-29 4:00 ` Will Sun leave the HW arena? Toon Moene
1998-04-30 4:00 ` Mike Fischbein
1998-04-30 4:00 ` Kevin P. Neal
1998-04-29 4:00 ` 2+2=5???? (was Re: Will Sun leave the HW arena?) Eric Osborne
1998-05-05 4:00 ` Will Sun leave the HW arena? Eric D. Osborne
1998-05-06 4:00 ` Andrew Harrison SUNUK Consultancy
1998-05-11 4:00 ` Real benefits of VLM (was Re: Will Sun leave the HW arena?) Eric Osborne
[not found] ` <caspe <6hpkdl$avt@flonk.uk.sun.com>
1998-04-27 4:00 ` Will Sun leave the HW arena? Burkhard Neidecker-Lutz
[not found] ` <7YTU.111$T51.375676@ptah.vis <casper.892468977@uk-usenet.uk.sun.com>
1998-04-14 4:00 ` Paul DeMone
1998-04-14 4:00 ` Steve Kappel
1998-04-14 4:00 ` Terry Shannon
1998-04-14 4:00 ` Steve Kappel
1998-04-14 4:00 ` Terry Shannon
1998-04-15 4:00 ` Anil Thomas Maliyekkel
1998-04-15 4:00 ` Egg
1998-04-15 4:00 ` Terry Shannon
1998-04-16 4:00 ` Steve Kappel
1998-04-16 4:00 ` Terry Shannon
1998-04-16 4:00 ` Steve Kappel
1998-04-16 4:00 ` Terry Shannon
1998-04-17 4:00 ` Steve Kappel
1998-04-17 4:00 ` Terry Shannon
1998-04-15 4:00 ` Steve Kappel
1998-04-15 4:00 ` Terry Shannon
1998-04-15 4:00 ` Paul DeMone
1998-04-15 4:00 ` Steve Kappel
1998-04-16 4:00 ` Andrew Harrison SUNUK Consultancy
1998-04-16 4:00 ` Jeffrey J. Potoff
1998-04-16 4:00 ` Troy Baer
1998-04-17 4:00 ` Krste Asanovic
1998-04-17 4:00 ` Troy Baer
1998-04-16 4:00 ` Paul DeMone
1998-04-17 4:00 ` Anil Thomas Maliyekkel
1998-04-17 4:00 ` Matthias Dolder
1998-04-20 4:00 ` Andrew Harrison SUNUK Consultancy
1998-04-20 4:00 ` Rob Young
1998-04-20 4:00 ` Steve Conley
1998-04-20 4:00 ` Nathan Gelbard
1998-04-21 4:00 ` Scott Walters
1998-04-21 4:00 ` Ian G Batten
1998-04-23 4:00 ` Dave Weatherall
1998-04-24 4:00 ` Jarod Jenson
1998-04-27 4:00 ` Ian G Batten
1998-04-30 4:00 ` Dave Weatherall
1998-04-30 4:00 ` Ian G Batten
1998-05-01 4:00 ` Dave Weatherall
1998-04-21 4:00 ` Matthias Dolder
1998-04-22 4:00 ` Andrew Harrison SUNUK Consultancy
1998-04-22 4:00 ` Terry Shannon
1998-04-23 4:00 ` Matthias Dolder
1998-04-24 4:00 ` Andrew Harrison SUNUK Consultancy
1998-05-01 4:00 ` Matthias Dolder
1998-04-22 4:00 ` D.Webb
1998-04-22 4:00 ` Casper H.S. Dik - Network Security Engineer
1998-04-24 4:00 ` Rob Young
1998-04-24 4:00 ` D.Webb
1998-04-28 4:00 ` Andrew Harrison SUNUK Consultancy
1998-04-29 4:00 ` J.L. Sue
1998-04-29 4:00 ` Rob Young
1998-04-29 4:00 ` Andrew Harrison SUNUK Consultancy
1998-04-30 4:00 ` Rob Young
1998-04-30 4:00 ` Andrew Harrison SUNUK Consultancy
1998-04-30 4:00 ` Larry Kilgallen
1998-05-06 4:00 ` Matthias Dolder
1998-05-06 4:00 ` Andrew Harrison SUNUK Consultancy
1998-05-06 4:00 ` Terry Shannon
1998-05-07 4:00 ` Larry Kilgallen
1998-05-11 4:00 ` Andrew Harrison SUNUK Consultancy
1998-05-12 4:00 ` Rob Young
1998-05-12 4:00 ` Andrew Harrison SUNUK Consultancy
1998-05-16 4:00 ` Matthias Dolder
1998-05-19 4:00 ` Andrew Harrison SUNUK Consultancy
1998-06-02 4:00 ` Matthias Dolder
1998-06-09 4:00 ` Andrew Harrison SUNUK Consultancy
1998-05-14 4:00 ` Andrew Harrison SUNUK Consultancy
1998-05-15 4:00 ` Douglas H. Borsom
1998-05-18 4:00 ` Andrew Harrison SUNUK Consultancy
1998-05-12 4:00 ` Matthias Dolder
1998-04-24 4:00 ` Andrew Harrison SUNUK Consultancy
1998-04-24 4:00 ` Lone_Wolf
1998-04-27 4:00 ` Ian G Batten
1998-04-23 4:00 ` Andrew Harrison SUNUK Consultancy
1998-04-27 4:00 ` D.Webb
1998-04-14 4:00 ` Casper H.S. Dik - Network Security Engineer
1998-04-16 4:00 ` Agtabby
1998-04-19 4:00 ` Rajat Datta
1998-05-16 4:00 ` Terry Shannon
[not found] ` <6f <borsom-1505980854450001@bos-ma10-10.ix.netcom.com>
1998-05-17 4:00 ` Casper H.S. Dik - Network Security Engineer
1998-05-18 4:00 ` DEC Noit In HPTC Market? (was " Terry Shannon
1998-05-04 4:00 Michael David Jones
1998-05-05 4:00 ` J.L. Sue
1998-05-06 4:00 ` Joshua Cope
1998-05-06 4:00 ` Michael David Jones
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox