git: 29810aa6ae70 - stable/14 - libc: Move tzset.3 to stdtime
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Sep 2025 19:29:06 UTC
The branch stable/14 has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=29810aa6ae70a5883dcb55c09a36ee38801dcd63
commit 29810aa6ae70a5883dcb55c09a36ee38801dcd63
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-03-12 04:19:15 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-09-30 16:43:23 +0000
libc: Move tzset.3 to stdtime
This really belongs in stddime, since it documents interfaces
implemented in stdtime.
Suggested by: brooks
Sponsored by: Netflix
(cherry picked from commit 7a0a6b276cfd7e072346842fe4746d08ee30e617)
---
lib/libc/gen/Makefile.inc | 1 -
lib/libc/stdtime/Makefile.inc | 4 +++-
lib/libc/{gen => stdtime}/tzset.3 | 0
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc
index 3e5f6ae8d602..6423091f48be 100644
--- a/lib/libc/gen/Makefile.inc
+++ b/lib/libc/gen/Makefile.inc
@@ -329,7 +329,6 @@ MAN+= alarm.3 \
timespec_getres.3 \
timezone.3 \
ttyname.3 \
- tzset.3 \
ualarm.3 \
ucontext.3 \
ulimit.3 \
diff --git a/lib/libc/stdtime/Makefile.inc b/lib/libc/stdtime/Makefile.inc
index 07ca69aab4c5..5d0ce7765b63 100644
--- a/lib/libc/stdtime/Makefile.inc
+++ b/lib/libc/stdtime/Makefile.inc
@@ -20,7 +20,7 @@ CFLAGS.localtime.c+= -DALL_STATE -DTHREAD_SAFE
CFLAGS.localtime.c+= -DDETECT_TZ_CHANGES
.endif
-MAN+= ctime.3 strftime.3 strptime.3 time2posix.3
+MAN+= ctime.3 strftime.3 strptime.3 time2posix.3 tzset.3
MAN+= tzfile.5
MLINKS+=ctime.3 asctime.3 ctime.3 difftime.3 ctime.3 gmtime.3 \
@@ -30,3 +30,5 @@ MLINKS+=ctime.3 asctime.3 ctime.3 difftime.3 ctime.3 gmtime.3 \
MLINKS+=strftime.3 strftime_l.3
MLINKS+=strptime.3 strptime_l.3
MLINKS+=time2posix.3 posix2time.3
+MLINKS+=tzset.3 daylight.3 \
+ tzset.3 timezone.3
diff --git a/lib/libc/gen/tzset.3 b/lib/libc/stdtime/tzset.3
similarity index 100%
rename from lib/libc/gen/tzset.3
rename to lib/libc/stdtime/tzset.3