Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Sep 2002 21:34:10 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdtime localtime.c
Message-ID:  <200209030434.g834YADw018941@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2002/09/02 21:34:10 PDT

  Modified files:
    lib/libc/stdtime     localtime.c 
  Log:
  Fix a nasty bug exposed by mktime() when time_t is significantly bigger
  than 32 bits.  It was trying to figure out things like the day of week
  of when time_t is roughly 2^62 etc.  Make a better guess for the starting
  point for the binary search that works on both 32 and 64 bit types.  I have
  been using this for a while now.
  
  Revision  Changes    Path
  1.33      +6 -0      src/lib/libc/stdtime/localtime.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209030434.g834YADw018941>