From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1211) id 23AC53858404; Fri, 9 Sep 2022 03:56:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 23AC53858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1662695775; bh=EcczIKYT3lCsfPgHZU4OsHqC1b6Lmghpq/k2Fxdfp/g=; h=From:To:Subject:Date:From; b=NweQuhyid7Sx5EYGKbxAZI/UA7vsEE4px169/+5N5OEOwX7D+VYsDOT7ioFoYCFMi iBcJedqUJ0cACUtNvYYKlmqjpmyrzQriwT0LZNSQYL6xBDAFRtRXvdjQF17EXUPDd1 K42LqBbv1/K6eI15xP+oCFRdT8baZePAJXfe24SA= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Paul Eggert To: glibc-cvs@sourceware.org Subject: [glibc] Assume HAVE_TZSET in time/mktime.c X-Act-Checkin: glibc X-Git-Author: Paul Eggert X-Git-Refname: refs/heads/master X-Git-Oldrev: a23820f6052a740246fdc7dcd9c43ce8eed0c45a X-Git-Newrev: 82a1ec851025ccae54dea43149915707f890746b Message-Id: <20220909035615.23AC53858404@sourceware.org> Date: Fri, 9 Sep 2022 03:56:15 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=82a1ec851025ccae54dea43149915707f890746b commit 82a1ec851025ccae54dea43149915707f890746b Author: Paul Eggert Date: Thu Sep 8 20:08:32 2022 -0500 Assume HAVE_TZSET in time/mktime.c This patch does not affect glibc. It affects only Gnulib-specific code and is for coordination with Gnulib. Diff: --- time/mktime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/time/mktime.c b/time/mktime.c index 494c89bf54..aa12e28e16 100644 --- a/time/mktime.c +++ b/time/mktime.c @@ -94,7 +94,7 @@ my_tzset (void) const char *tz = getenv ("TZ"); if (tz != NULL && strchr (tz, '/') != NULL) _putenv ("TZ="); -# elif HAVE_TZSET +# else tzset (); # endif }