git: 6f43f86bf36d - main - tzcode: Fix operation without WITH_DETECT_TZ_CHANGES

Edward Tomasz Napierala trasz at FreeBSD.org
Tue Sep 14 20:40:11 UTC 2021


The branch main has been updated by trasz:

URL: https://cgit.FreeBSD.org/src/commit/?id=6f43f86bf36dba158355593bab5f81a7f8e2773c

commit 6f43f86bf36dba158355593bab5f81a7f8e2773c
Author:     Edward Tomasz Napierala <trasz at FreeBSD.org>
AuthorDate: 2021-09-14 20:17:45 +0000
Commit:     Edward Tomasz Napierala <trasz at FreeBSD.org>
CommitDate: 2021-09-14 20:17:50 +0000

    tzcode: Fix operation without WITH_DETECT_TZ_CHANGES
    
    Reviewed By:    bdrewery, kevans, cy
    Reported By:    lwhsu, bdrewery
    Fixes:          ddedf2a11eb
    Sponsored by:   NetApp, Inc.
    Sponsored by:   Klara, Inc.
    Differential Revision:  https://reviews.freebsd.org/D31961
---
 contrib/tzcode/stdtime/localtime.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/tzcode/stdtime/localtime.c b/contrib/tzcode/stdtime/localtime.c
index 926b24470e19..9de1b26d74a0 100644
--- a/contrib/tzcode/stdtime/localtime.c
+++ b/contrib/tzcode/stdtime/localtime.c
@@ -390,7 +390,7 @@ change_in_tz(const char *name)
 	return 0;
 }
 #else /* !DETECT_TZ_CHANGES */
-#define	change_in_tz(X)	0
+#define	change_in_tz(X)	1
 #endif /* !DETECT_TZ_CHANGES */
 
 static int


More information about the dev-commits-src-main mailing list