Re: CVS: cvs.openbsd.org: src

Anton Lindqvist <[email protected]>
Newsgroups gmane.os.openbsd.cvs
Message-ID <[email protected]>
On Thu, Jul 16, 2026 at 03:08:08PM -0600, Todd C. Miller wrote:
> CVSROOT:	/cvs
> Module name:	src
> Changes by:	[email protected]	2026/07/16 15:08:08
> 
> Modified files:
> 	share/zoneinfo : ziguard.awk 
> 	share/zoneinfo/datfiles: africa australasia europe 
> 	                         leap-seconds.list northamerica zone.tab 
> 	                         zone1970.tab zonenow.tab 
> 
> Log message:
> Update to tzdata2026c from https://github.com/JodaOrg/global-tz
> 
> Major changes:
> o Alberta moved to permanent -06 on 2026-06-18
> o Morocco moves to permanent +00 on 2026-09-20

This broke regress/lib/libc/time.

> lib/libc/time
Exit: 1
Duration: 00:00:02
Log: 088-lib-libc-time.log

==== run-regress-timetest ====
cc -O2 -pipe  -g  -MD -MP  -c /home/src/regress/lib/libc/time/time_conversion/timetest.c
cc   -o timetest timetest.o 
./timetest
FAIL: test "legacy max", tz "posix/America/Edmonton" localtime_r does not match expected value
expected: 		{
			.tm_year=138,
			.tm_mon=0,
			.tm_mday=18,
			.tm_hour=20,
			.tm_min=14,
			.tm_sec=7,
			.tm_wday=1,
			.tm_yday=17,
			.tm_isdst=0,
			.tm_gmtoff=-25200,
			.tm_zone="MST"
		},
actual: 		{
			.tm_year=138,
			.tm_mon=0,
			.tm_mday=18,
			.tm_hour=21,
			.tm_min=14,
			.tm_sec=7,
			.tm_wday=1,
			.tm_yday=17,
			.tm_isdst=0,
			.tm_gmtoff=-21600,
			.tm_zone="CST"
		},
FAIL: test "legacy max + 1", tz "posix/America/Edmonton" localtime_r does not match expected value
expected: 		{
			.tm_year=138,
			.tm_mon=0,
			.tm_mday=18,
			.tm_hour=20,
			.tm_min=14,
			.tm_sec=8,
			.tm_wday=1,
			.tm_yday=17,
			.tm_isdst=0,
			.tm_gmtoff=-25200,
			.tm_zone="MST"
		},
actual: 		{
			.tm_year=138,
			.tm_mon=0,
			.tm_mday=18,
			.tm_hour=21,
			.tm_min=14,
			.tm_sec=8,
			.tm_wday=1,
			.tm_yday=17,
			.tm_isdst=0,
			.tm_gmtoff=-21600,
			.tm_zone="CST"
		},
FAIL: test "maxint struct tm", tz "right/America/Edmonton" localtime_r does not match expected value
expected: 		{
			.tm_year=2147481747,
			.tm_mon=0,
			.tm_mday=31,
			.tm_hour=16,
			.tm_min=59,
			.tm_sec=32,
			.tm_wday=4,
			.tm_yday=30,
			.tm_isdst=0,
			.tm_gmtoff=-25200,
			.tm_zone="MST"
		},
actual: 		{
			.tm_year=2147481747,
			.tm_mon=0,
			.tm_mday=31,
			.tm_hour=17,
			.tm_min=59,
			.tm_sec=32,
			.tm_wday=4,
			.tm_yday=30,
			.tm_isdst=0,
			.tm_gmtoff=-21600,
			.tm_zone="CST"
		},
FAIL: test "9999", tz "posix/America/Edmonton" localtime_r does not match expected value
expected: 		{
			.tm_year=8099,
			.tm_mon=11,
			.tm_mday=31,
			.tm_hour=16,
			.tm_min=59,
			.tm_sec=59,
			.tm_wday=5,
			.tm_yday=364,
			.tm_isdst=0,
			.tm_gmtoff=-25200,
			.tm_zone="MST"
		},
actual: 		{
			.tm_year=8099,
			.tm_mon=11,
			.tm_mday=31,
			.tm_hour=17,
			.tm_min=59,
			.tm_sec=59,
			.tm_wday=5,
			.tm_yday=364,
			.tm_isdst=0,
			.tm_gmtoff=-21600,
			.tm_zone="CST"
		},
FAIL: test "9999", tz "right/America/Edmonton" localtime_r does not match expected value
expected: 		{
			.tm_year=8099,
			.tm_mon=11,
			.tm_mday=31,
			.tm_hour=16,
			.tm_min=59,
			.tm_sec=32,
			.tm_wday=5,
			.tm_yday=364,
			.tm_isdst=0,
			.tm_gmtoff=-25200,
			.tm_zone="MST"
		},
actual: 		{
			.tm_year=8099,
			.tm_mon=11,
			.tm_mday=31,
			.tm_hour=17,
			.tm_min=59,
			.tm_sec=32,
			.tm_wday=5,
			.tm_yday=364,
			.tm_isdst=0,
			.tm_gmtoff=-21600,
			.tm_zone="CST"
		},
FAIL:  5 time test failures
*** Error 5 in time_conversion (<bsd.regress.mk>:43 'run-regress-timetest')
FAILED
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.