The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Norman Wilson <norman@oclsc.org>
To: tuhs@tuhs.org
Subject: Re: [TUHS] The 2038 bug...
Date: Sat, 09 Jan 2021 03:44:28 -0500	[thread overview]
Message-ID: <1610181871.24117.for-standards-violators@oclsc.org> (raw)

Warner Losh:

  Less ugly would be to declare time_t to be unsigned instead of signed...
  It would break less code... Making time_t 64 bits also breaks code, even if
  you declare you don't care about binary compat since many older apps know
  time_t is 32-bits.

===

I remember chatting in 1998 with a consultant who worked with
clients in the financial industry.  They still used 32-bit systems
at the time, and had already converted critical programs (I don't
know whether that included parts of libc or they had their own
conversion routines) to make time_t unsigned.

It mattered early to those folks because of 40-year bonds.

That suggests to me that the financial-services world may have
a head start on the 2038 problem, but I fear many others are
still lagging behind.  64 bits will help but not as much for
embedded systems and legacy stuff.

Us hobbyists will doubtless have fun too, as we already do
(ask Warren) when running the earliest existing UNIX images,
in which times are stored in sixtieths of a second.

Norman Wilson
Toronto ON

             reply	other threads:[~2021-01-09  8:46 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-09  8:44 Norman Wilson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-12-31 15:05 M Douglas McIlroy
2020-12-31 16:51 ` arnold
2020-12-31 23:31   ` Steffen Nurpmeso
2020-12-31  7:19 Dave Horsfall
2020-12-31  7:24 ` Niklas Karlsson
2020-12-31  8:10   ` arnold
2020-12-31 15:30     ` Warner Losh
2020-12-31 16:09       ` Adam Thornton
2020-12-31 16:12         ` Larry McVoy
2021-01-11  7:18           ` alan
2021-01-11 14:01             ` Stuart Remphrey
2020-12-31 18:36         ` Theodore Ts'o
2020-12-31 21:34           ` Warner Losh
2021-01-06 16:32       ` Dario Niedermann
2021-01-06 17:08         ` Henry Bent
2021-01-06 18:05           ` Dario Niedermann
2021-01-06 18:20           ` Michael Kjörling
2021-01-06 21:09         ` Dave Horsfall
2020-12-31 19:18     ` Bakul Shah
2021-01-04  8:22 ` Peter Jeremy via TUHS
2021-01-04  9:13   ` Angus Robinson
2021-01-04 21:49   ` Dave Horsfall
2021-01-04 21:56     ` Warner Losh
2021-01-05 18:05       ` Dan Cross
2021-01-06  7:21         ` Warner Losh
2021-01-07 22:56     ` Stuart Remphrey
2021-01-08  1:25       ` Nemo Nusquam
2021-01-10  6:56         ` Stuart Remphrey
2021-01-04  8:59 ` Sergio Pedraja
2021-01-07 22:50 ` Stuart Remphrey
2021-01-10  7:16 ` Valdimar Sigurdsson
2021-01-10  7:24   ` Niklas Karlsson
2021-01-10 10:15   ` Stuart Remphrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1610181871.24117.for-standards-violators@oclsc.org \
    --to=norman@oclsc.org \
    --cc=tuhs@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).