From owner-cvs-all  Tue Apr  4 18:59:41 2000
Delivered-To: cvs-all@freebsd.org
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP
	id AE24F37B828; Tue,  4 Apr 2000 18:59:38 -0700 (PDT)
	(envelope-from brian@FreeBSD.org)
Received: (from brian@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id SAA72831;
	Tue, 4 Apr 2000 18:59:37 -0700 (PDT)
	(envelope-from brian@FreeBSD.org)
Message-Id: <200004050159.SAA72831@freefall.freebsd.org>
From: Brian Somers <brian@FreeBSD.org>
Date: Tue, 4 Apr 2000 18:59:37 -0700 (PDT)
To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject: cvs commit: src/bin/date vary.c
Sender: owner-cvs-all@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

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