From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-5.2 required=3.0 tests=AWL,BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 4A88A2018F for ; Wed, 13 Jul 2016 14:04:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752942AbcGMOBu (ORCPT ); Wed, 13 Jul 2016 10:01:50 -0400 Received: from mout.gmx.net ([212.227.17.21]:53061 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751238AbcGMOBt (ORCPT ); Wed, 13 Jul 2016 10:01:49 -0400 Received: from virtualbox ([37.24.141.253]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0M51eM-1bAle30bU6-00zGNq; Wed, 13 Jul 2016 16:00:49 +0200 Date: Wed, 13 Jul 2016 16:00:46 +0200 (CEST) From: Johannes Schindelin X-X-Sender: virtualbox@virtualbox To: Junio C Hamano cc: Jeff King , Andreas Schwab , Git Mailing List Subject: Re: [ANNOUNCE] Git v2.9.1 In-Reply-To: Message-ID: References: <87lh17kgdy.fsf@linux-m68k.org> <20160711235417.GA26163@sigill.intra.peff.net> <20160712151630.GE613@sigill.intra.peff.net> <20160712153520.GG613@sigill.intra.peff.net> <20160712160921.GA2965@sigill.intra.peff.net> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Provags-ID: V03:K0:DIl9dLe5oxBcQ39L3bBvw9hhFIofrbW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.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Hi, On Tue, 12 Jul 2016, Junio C Hamano wrote: > Jeff King writes: > > > In case it wasn't clear, I was mostly guessing there. So I dug a bit > > further, and indeed, I am wrong. Linux never bumped to a 64-bit time_t > > on i386 because of the ABI headaches. > > X-< (yes, I knew). > > > That being said, I still think the "clamp to time_t" strategy is > > reasonable. Unless you are doing something really exotic like pretending > > to be from the future, nobody will care for 20 years. > > Yup. It is a minor regression for them to go from ulong to time_t, > because they didn't have to care for 90 years or so but now they do > in 20 years, I'd guess, but hopefully after that many years, > everybody's time_t would be sufficiently large. > > I suspect Cobol programmers in the 50s would have said a similar > thing about the y2k timebomb they created back then, though ;-) > > > And at that point, systems with a 32-bit time_t are going to have > > to do _something_, because time() is going to start returning > > bogus values. So as long as we behave reasonably (e.g., clamping > > values and not generating wrapped nonsense), I think that's a fine > > solution. > > OK. I kept the unsigned long -> time_t conversion after reading the thread so far. Ciao, Dscho