From nobody Tue Mar 12 04:19:44 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tv0m10WBPz5DCLX; Tue, 12 Mar 2024 04:19:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tv0m06rYzz4hyW; Tue, 12 Mar 2024 04:19:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710217185; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3CQ8tpROTbhlrgexx8xkmZ4fyPICtRks/cf9DBVS0u0=; b=W0YJQe47t3OzpoMXEKKjG+CnEN2zxE1Ru3s9ibyzbVaLknzxJpSi/cB7HOOPXLYCcLpcxC oCsYdZxZ9xNe3IzDWLKlF5EQObp7MkHywovEUOb7l44qkNywVnkxI4FmfILaSUzglPyXsJ Zxv3j3GbQpAg3EU/S3mLnp/0rBBxzq5x5YA5i+4fNcuqOwG9yz9LFdt/v6C/RG4o2YHP2e rAvZDD9PqKHVg/odhTVuZ/ffe9JyxKCuiTK24A6j8hjZXhkobUXFcjTXXn1Ml9VbSkQb0t JIeE9U0GkkOcuhrg1Z9p+qJh4fA6WhTLvfzOY0koSdjE1CM7p/dZQsf7nLNyYA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710217185; a=rsa-sha256; cv=none; b=suXbkF5cwaop7PXBA/gnBC8PYTxdyME+cX3O8xdE7cWOgtzOBl+9C83X1ahvmS7F8x6Ewe mAX7yNQCvvqfkphrm9gDiZBOtcAi3PHq96uXDJ8VqKgvA1C+/C4ElzyCBX4aZC/mA+m3ON hsZHD54Y+JlJ6LuSYWvSSXnNtaIhjUBVK/SPwpUqyVXUjXXX7Znm113+bMXDyLTodjK1lG LRK4RfVHkWnIUIXpr3l06cLzdls+mN2GNGw2e6dRWaRY+/yVtPOEyMn2HzNi1JuQf9oW9i 23OgQHUO4KJ3Z2dn7ksmKu8QzRZLiB3kvDxyDSCfPs4UCnU1sP9zuAmFUKMoig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710217185; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3CQ8tpROTbhlrgexx8xkmZ4fyPICtRks/cf9DBVS0u0=; b=ZWxTDqINarSLSN7UxAoBFjDl+RAsBh/SNY86k0CtOJD4xfRQyTInU5PEnbilYqjUp+YBOw dEwn/RaSNXQAPojPYcg1H3GUoINAFYh7Ez+pnEyTRlVoQQWJ4D4ucCc4dHnN2XUvcAFMXh o1oMpN11c3424k07YWxqjNOtFUvj311rnkCqMlOApIpDiBLUnak//6duHvviXtg5KFMyzL 0wN5nGtjyIaH58EGPtlpd/cmuAMiymTOuWzAn1AekPqtHFdt/wdi9kGfx0oVNTtuo+jgvC /V1lLqjcsMHqArTMGeJOfn0rBR8ZBnHGppu0SU9tM67lJugLAi/XGmeIQ+36Cw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Tv0m06KbKzylQ; Tue, 12 Mar 2024 04:19:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42C4Ji2f022321; Tue, 12 Mar 2024 04:19:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42C4JiWR022318; Tue, 12 Mar 2024 04:19:44 GMT (envelope-from git) Date: Tue, 12 Mar 2024 04:19:44 GMT Message-Id: <202403120419.42C4JiWR022318@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 7a0a6b276cfd - main - libc: Move tzset.3 to stdtime List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7a0a6b276cfd7e072346842fe4746d08ee30e617 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=7a0a6b276cfd7e072346842fe4746d08ee30e617 commit 7a0a6b276cfd7e072346842fe4746d08ee30e617 Author: Warner Losh AuthorDate: 2024-03-12 04:19:15 +0000 Commit: Warner Losh CommitDate: 2024-03-12 04:19:31 +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 --- lib/libc/gen/Makefile.inc | 3 --- lib/libc/stdtime/Makefile.inc | 4 +++- lib/libc/{gen => stdtime}/tzset.3 | 0 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc index 9c79cd589395..2f034e7d476a 100644 --- a/lib/libc/gen/Makefile.inc +++ b/lib/libc/gen/Makefile.inc @@ -308,7 +308,6 @@ MAN+= alarm.3 \ timespec_get.3 \ timespec_getres.3 \ ttyname.3 \ - tzset.3 \ ualarm.3 \ ucontext.3 \ ulimit.3 \ @@ -534,8 +533,6 @@ MLINKS+=tcsetattr.3 cfgetispeed.3 \ tcsetattr.3 tcgetattr.3 MLINKS+=ttyname.3 isatty.3 \ ttyname.3 ttyname_r.3 -MLINKS+=tzset.3 daylight.3 \ - tzset.3 timezone.3 MLINKS+=unvis.3 strunvis.3 \ unvis.3 strunvisx.3 MLINKS+=vis.3 nvis.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