time_t size and year 2038 wrap

From: Andy Jackman (ajackman_at_deckertelecom.net)
Date: 08/07/03

  • Next message: Ken Plumley: "RE: Ethernet & DHCP Fails on Cable Modem to Internet"
    To: redhat-list@redhat.com
    Date: Thu, 07 Aug 2003 16:46:09 +0100
    
    

    Hi,
    I'm using redhat 7.4 and in bits/types.h time_t is defined as long int.
    This causes a wrap in 2038 (as I'm sure you all know). I searched the
    redhat site for date 2038 and found very little current stuff. The
    attached post from 1998 seems to say 'all will be well' but I'm having a
    hard time persuading my boss that it's clever to use a date system that
    expires in 35 years. I need both date and time. I can write my own date
    to/from string routines. What I don't want to do is write the equivalent
    of the time() function to get the current date & time. Is there a 64 bit
    version of time() available for the current version(s) of linux? Does
    anyone have any other ideas?
    Thanks,
    Andy.

     

    From: rick hamell <hamellr dsinw com>
    To: redhat-install-list redhat com
    Subject: Re: Y2.038K ISSUES -was Re: Y2K Issues
    Date: Sun, 11 Oct 1998 17:03:54 -0700 (PDT)

    --------------------------------------------------------------------------------

    > my question is/was not about y2k per se but about YEAR 2038 COMPLIANCE.
    > is the unix/linux community doing anything to address this issue? How
    > long will we/they wait?

            Ahh, my understanding is that date is a 32 bit number, so it
    stands to reason that when we change to a 64 bit operating system, the
    number will change also. For Linux I don't know when that will be, but
    FreeBSD will supposedly be there in version 3.2 (3.0 is due out in days
    :)
    So I'd guess that it'll be soon!

                                    Rick

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Ken Plumley: "RE: Ethernet & DHCP Fails on Cable Modem to Internet"

    Relevant Pages

    • Re: Patch management tool
      ... keep your questions relevant to the discussion topic of the list. ... linux distro as a seprate operating system. ... FreeBSD from RedHat, you should differentiate RedHat from SuSe. ... > Looking for best free tool /open source solution for Linux operating system ...
      (Pen-Test)
    • Re: A Newbie Nix Question
      ... > Linux' is the best. ... the GNU/Linux operating system and create your own "distro" by tuning your ... Slackware and RedHat and Mandrake and Suse and Debian and..... ...
      (alt.os.linux)
    • Re: OpenQM vs. Everything Else
      ... people who "support" Linux really only install stock distros. ... Debian is simply not drama queen. ... Linux or that of people like Martin, Doug, or other "engineer" types ... U2, RedHat and SuSE: ...
      (comp.databases.pick)
    • Re: OpenQM vs. Everything Else
      ... Linux or that of people like Martin, Doug, or other "engineer" types ... asked to work with an MV system over any distro except RedHat. ... And the only Linux distro mentioned on the QM download page is RedHat: ... hardware to test my clients' MondoRescue DVD's. ...
      (comp.databases.pick)
    • Re: RH rips again Was: extend EOL for Red Hat Linux 9?
      ... When I purchased Redhat 7.3 they sent me an email 2 weeks after I ... installer screen was offset on all of them. ... expect more from a "commercial" Linux distribution. ... I hope one day a Linux distro is actually that, ...
      (Fedora)