Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2000 11:42:00 +0300
From:      "Gene Sokolov" <hook@aktrad.ru>
To:        <freebsd-stable@freebsd.org>
Subject:   possible invalid use of Zeller Conguence in libc/stdtime/localtime.c
Message-ID:  <04de01bf6322$417d45b0$0d8cdac3@aktrad.ru>

next in thread | raw e-mail | index | archive | help
I got an impression that the parsing of daylight savings rules from TZ
environment variable is off by one day. The manual on tzset() states that
the M notation for rules assumes 0 for Sunday. The actual transtime() in
localtime.c I believe assumes 0 for Saturday. Can someone please verify
that. I checked 2.2.8 and 3.3 sources.
    The reason why this was not noticed before, I believe, is because most
installations do not use TZ variable and those which do, have this bug
manifest itself just twice per year on weekends.

Gene Sokolov.




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?04de01bf6322$417d45b0$0d8cdac3>