mirror of
https://github.com/opnsense/src.git
synced 2026-04-02 07:55:21 -04:00
The day-of-week calculation used the raw year value without adjusting for TM_YEAR_BASE, so it was off by one for 300 years out of every 400; it just happened to be correct for 1901 through 2000. It also used a loop where a simple addition would have sufficed. While here, simplify our version of Gauss's algorithm, and document that we assume the Gregorian calendar. MFC after: 1 week PR: 282916 Reviewed by: imp, allanjude, philip Differential Revision: https://reviews.freebsd.org/D47977 (cherry picked from commit 4285e024baa80f81d13cdcc016fdf0721fe57862)
41 lines
684 B
Makefile
41 lines
684 B
Makefile
|
|
.include <src.opts.mk>
|
|
|
|
SUBDIR= tls_dso
|
|
|
|
TESTS_SUBDIRS= c063
|
|
TESTS_SUBDIRS+= db
|
|
TESTS_SUBDIRS+= gen
|
|
TESTS_SUBDIRS+= hash
|
|
TESTS_SUBDIRS+= inet
|
|
TESTS_SUBDIRS+= net
|
|
TESTS_SUBDIRS+= nss
|
|
TESTS_SUBDIRS+= regex
|
|
TESTS_SUBDIRS+= resolv
|
|
TESTS_SUBDIRS+= rpc
|
|
TESTS_SUBDIRS+= setjmp
|
|
TESTS_SUBDIRS+= stdio
|
|
TESTS_SUBDIRS+= stdlib
|
|
TESTS_SUBDIRS+= stdtime
|
|
TESTS_SUBDIRS+= string
|
|
TESTS_SUBDIRS+= sys
|
|
TESTS_SUBDIRS+= termios
|
|
TESTS_SUBDIRS+= time
|
|
TESTS_SUBDIRS+= tls
|
|
TESTS_SUBDIRS+= ttyio
|
|
|
|
SUBDIR_DEPEND_tls= tls_dso
|
|
|
|
.if ${MK_ICONV} != "no"
|
|
TESTS_SUBDIRS+= iconv
|
|
.endif
|
|
|
|
.if ${MK_LOCALES} != "no"
|
|
TESTS_SUBDIRS+= locale
|
|
.endif
|
|
|
|
.if ${MK_SSP} != "no"
|
|
TESTS_SUBDIRS+= ssp
|
|
.endif
|
|
|
|
.include <bsd.test.mk>
|