Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 2000 18:59:37 -0700 (PDT)
From:      Brian Somers <brian@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/date vary.c
Message-ID:  <200004050159.SAA72831@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
brian       2000/04/04 18:59:37 PDT

  Modified files:
    bin/date             vary.c 
  Log:
  Always give mktime a timeval with tm_isdst set to -1, otherwise
  things get a bit out-of-phase when we step backwards 1 hour from
  between 0:00 and 1:00 on the first of the month following the
  transition into Summer time.  This is probably actually a bug
  in mktime().
  
  PR:	10963
  
  If mktime() fails and 68 < year < 138, assume that the reason is
  because of Summer time and adjust up or down according to our
  adjusting context by one hour.  This assumes that all DSTs are
  multiples of 1 hour.
  
  PR:	6223, 17750
  
  Revision  Changes    Path
  1.9       +118 -65   src/bin/date/vary.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?200004050159.SAA72831>