From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A8A9C433EF for ; Tue, 24 May 2022 23:24:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241207AbiEXXYW convert rfc822-to-8bit (ORCPT ); Tue, 24 May 2022 19:24:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233692AbiEXXYV (ORCPT ); Tue, 24 May 2022 19:24:21 -0400 Received: from elephants.elehost.com (elephants.elehost.com [216.66.27.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5401E5D643 for ; Tue, 24 May 2022 16:24:20 -0700 (PDT) Received: from Mazikeen (cpe00fc8d49d843-cm00fc8d49d840.cpe.net.cable.rogers.com [174.119.96.21] (may be forged)) (authenticated bits=0) by elephants.elehost.com (8.16.1/8.16.1) with ESMTPSA id 24ONOIFl005698 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 24 May 2022 19:24:19 -0400 (EDT) (envelope-from rsbecker@nexbridge.com) Reply-To: From: To: "'Taylor Blau'" Cc: "'Jonathan Nieder'" , , , , , , References: <91a9d21b0b7d99023083c0bbb6f91ccdc1782736.1653088640.git.me@ttaylorr.com> <015d01d86fa6$a10519f0$e30f4dd0$@nexbridge.com> In-Reply-To: Subject: RE: [PATCH v5 02/17] pack-mtimes: support reading .mtimes files Date: Tue, 24 May 2022 19:24:14 -0400 Organization: Nexbridge Inc. Message-ID: <016e01d86fc5$64ecf180$2ec6d480$@nexbridge.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT X-Mailer: Microsoft Outlook 16.0 Content-Language: en-ca Thread-Index: AQHb/488bX7VmyGm7lOI8s5Sc6VeLQKg6TD0AnqYOkcA3OyauQHJFXHbAse5aIms00ElkA== Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On May 24, 2022 6:25 PM ,Taylor Blau write: >On Tue, May 24, 2022 at 03:44:00PM -0400, rsbecker@nexbridge.com wrote: >> I am again concerned about 32-bit time_t assumptions. time_t is 32-bit >> on some platforms, signed/unsigned, and sometimes 64-bit. We are >> talking about potentially long-persistent files, as I understand this >> series, so we should not be limiting times to end at 2038. That's only >> 16 years off and I would wager that many clones that exist today will exist then. > >Note that we're using unsigned fields here, so we have until 2106 (see my earlier >response on this in https://lore.kernel.org/git/YdiXecK6fAKl8++G@nand.local/). I appreciate that, but 32-bit time_t is still signed on many platforms, so when cast, it still might, at some point in another series, cause issues. Please be cautious. I expect that this is the particular hill on which I will die. 😉 --Randall