Re: mktime fails for pre 1970 on Fedora 3



zaphod <none@xxxxxxxx> wrote:
>
>I have a client's website running on Linux at www.dsvr.co.uk, a well
>respected hosting company, and PHP's mktime() as on many Linux versions
>still can't handle dates prior to 1970. This is madness. Can anyone explain
>why the problem with mktime()'s dependence on glibc STILL hasn't been
>addressed as of PHP 5? I can't believe the PHP developers continute to keep
>their head in the sand with regard to mktime() and it's problems dealing
>with dates prior to 1970. It's no good blaming glibc. If glibc is
>problematic dependence on it should have been dropped long ago. Perl's
>Date::Calc doesn't suffer from these problems.

It's not glibc. It is much more deeply embedded in the depths of the
operating system. Just try to work with a date past February, 2038.
--
- Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.



Relevant Pages

  • mktime fails for pre 1970 on Fedora 3
    ... I have a client's website running on Linux at www.dsvr.co.uk, ... I can't believe the PHP developers continute to keep ... their head in the sand with regard to mktime() and it's problems dealing ... It's no good blaming glibc. ...
    (comp.lang.php)
  • [Full-Disclosure] THREATCON HITTING DANGEROUS LEVELS!
    ... > This is the linux glibc bootstrap code behaviour. ... and only am using linux ia32. ... i think maybe a kernel patch is the best place for this.. ...
    (Full-Disclosure)
  • Re: [9fans] impressive
    ... that they have no interest in supporting compilers other than gcc. ... The only OSes supported in the [glibc] tree are Linux and to some ... Only Linux is supported... ...
    (comp.os.plan9)
  • *ix -> linux (any cpu, any gcc, any glibc) cross compiler
    ... any cpu type) but running on your favorite non-Linux ... end up with a complete working gcc and glibc. ... support could be added without much ado. ... The idea is, now us Linux developers ...
    (comp.unix.solaris)
  • *ix -> linux (any cpu, any gcc, any glibc) cross compiler
    ... any cpu type) but running on your favorite non-Linux ... end up with a complete working gcc and glibc. ... support could be added without much ado. ... The idea is, now us Linux developers ...
    (comp.unix.bsd.freebsd.misc)