Date: Sat, 1 Jan 2022 00:26:47 GMT From: Alexander Motin <mav@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 375fdb6e161e - stable/13 - libc: Fix build with -DNS_REREAD_CONF. Message-ID: <202201010026.2010Ql4n041017@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=375fdb6e161ea78a957314efeecd5ee0654a2793 commit 375fdb6e161ea78a957314efeecd5ee0654a2793 Author: Alexander Motin <mav@FreeBSD.org> AuthorDate: 2021-12-29 22:00:17 +0000 Commit: Alexander Motin <mav@FreeBSD.org> CommitDate: 2022-01-01 00:26:43 +0000 libc: Fix build with -DNS_REREAD_CONF. MFC after: 3 days (cherry picked from commit 62ed2d0152dce6da883fef753e0995e6d85e0cf1) --- lib/libc/net/nsdispatch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libc/net/nsdispatch.c b/lib/libc/net/nsdispatch.c index b0f80d079b0b..ada7ac606e15 100644 --- a/lib/libc/net/nsdispatch.c +++ b/lib/libc/net/nsdispatch.c @@ -335,7 +335,9 @@ static int nss_configure(void) { static time_t confmod; +#ifndef NS_REREAD_CONF static int already_initialized = 0; +#endif struct stat statbuf; int result, isthreaded; const char *path;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201010026.2010Ql4n041017>