Message ID | 20250105055750.1668721-20-eggert@cs.ucla.edu (mailing list archive) |
---|---|
State | New |
Headers |
Return-Path: <libc-alpha-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 38A743858D3C for <patchwork@sourceware.org>; Sun, 5 Jan 2025 06:07:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 38A743858D3C Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=cs.ucla.edu header.i=@cs.ucla.edu header.a=rsa-sha256 header.s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C header.b=Kx4QNpNi X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail.cs.ucla.edu (mail.cs.ucla.edu [131.179.128.66]) by sourceware.org (Postfix) with ESMTPS id CA41C3858D35 for <libc-alpha@sourceware.org>; Sun, 5 Jan 2025 05:59:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CA41C3858D35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=cs.ucla.edu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cs.ucla.edu ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CA41C3858D35 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=131.179.128.66 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736056742; cv=none; b=yA5oS6yCjrCHdKnM/HsKULfULSMtScxW7z7pSDfiLr0D7lGVO+mvUu9j+dfuyJpZIK2Oir7aoypp5Hb1yVQxxRiq2jTIvpqY1ZOgdAfV83/JabDInrPZGbZ0rCdQiN2aUn2XZ4YhlWSfgs6zD8+deBbeMn+eskFGFP4+lzah0fw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736056742; c=relaxed/simple; bh=0MtylsOBAEEqEWugPZYd/8cZeqmuczwiWpLHVjMRWwI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=ZM8flv2y8hG6gnz8P/B4g+9u7lXQEkGFjEAcEwV+3LZ9eSarX85tcbduExfhBzDnPQVOlj545nBvtbm161aVB+fY/9uhqYec6ldXYwQAPzNoZTLGyyMQ09CdVZ+FZN8kC0aIsl1HUCRGJi1VY8c6kcAO1W3Nd/8wBpA3LME+LWo= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CA41C3858D35 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 4FFF93C123845 for <libc-alpha@sourceware.org>; Sat, 4 Jan 2025 21:59:02 -0800 (PST) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP id 2NB2Ca9vpcFT; Sat, 4 Jan 2025 21:59:02 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 0AE0B3C123844; Sat, 4 Jan 2025 21:59:02 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu 0AE0B3C123844 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1736056742; bh=0AuSdk3yRVF1XnsMMNbW61RNQsu9tNnrMF/3mvS6YlM=; h=From:To:Date:Message-ID:MIME-Version; b=Kx4QNpNiQT1s/oPqSIShENhRufDcHyrym2RxM/6z6v/zwA8RuhDFk6yy+9csa4Pxs YPJtO73ydpMkx4HApUfRmIoCeLcauL9AJ4GHmLmiPhE9ZM2b/6q5o7ayZfnlYg9fln mnQH4S72cbQN+EgGF8IrNCK8dOvh0afZErp0aD2JOxqq3Ru2uLcVzZEIFmLgZJywSj yJxNHdniqt1XusdWiBptAAptJBXz3SaWBk0mkNW34CdYimuD3VZHDBZpADI62nvV+S QlsLWERfBFTPfBYVRZ3pbUU9xlczV4idBZ/oO3eNanGlBK6aWP3pxrdFwu4O5X6hM4 LPHfWyvANu4rg== X-Virus-Scanned: amavis at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id gu-m7Ixd23By; Sat, 4 Jan 2025 21:59:01 -0800 (PST) Received: from wing.home (unknown [47.154.28.214]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id DEE363C082EB9; Sat, 4 Jan 2025 21:59:01 -0800 (PST) From: Paul Eggert <eggert@cs.ucla.edu> To: libc-alpha@sourceware.org Cc: Paul Eggert <eggert@cs.ucla.edu> Subject: [PATCH 19/59] Trivial tzset_internal speedup Date: Sat, 4 Jan 2025 21:56:54 -0800 Message-ID: <20250105055750.1668721-20-eggert@cs.ucla.edu> X-Mailer: git-send-email 2.45.2 In-Reply-To: <01207110-bd60-46ae-9c08-fb39c2011067@cs.ucla.edu> References: <01207110-bd60-46ae-9c08-fb39c2011067@cs.ucla.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-10.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org |
Series |
time: sync mktime from Gnulib
|
|
Checks
Context | Check | Description |
---|---|---|
redhat-pt-bot/TryBot-apply_patch | success | Patch applied to master at the time it was sent |
Commit Message
Paul Eggert
Jan. 5, 2025, 5:56 a.m. UTC
* time/tzset.c (tzset_internal): Omit useless initialization. All that matters is that the two change values are equal, which they are because they’ve just been zeroed. --- time/tzset.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/time/tzset.c b/time/tzset.c index 7cc675334a..8f7315dabe 100644 --- a/time/tzset.c +++ b/time/tzset.c @@ -430,7 +430,6 @@ tzset_internal (int always) tz_rules[0].name = tz_rules[1].name = "UTC"; if (J0 != 0) tz_rules[0].type = tz_rules[1].type = J0; - tz_rules[0].change = tz_rules[1].change = -1; update_vars (); return; }