From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15797 invoked by alias); 7 Sep 2017 16:32:27 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 15784 invoked by uid 89); 7 Sep 2017 16:32:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=H*f:sk:6497437, H*i:sk:6497437, H*F:D*pl X-HELO: smtpo113.poczta.onet.pl Received: from smtpo113.poczta.onet.pl (HELO smtpo113.poczta.onet.pl) (213.180.149.166) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 07 Sep 2017 16:32:21 +0000 Received: from INFERNUS (77-253-36-141.adsl.inetia.pl [77.253.36.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: freddie_chopin@op.pl) by smtp.poczta.onet.pl (Onet) with ESMTPSA id 3xp5Zd620Hz1PfNsl for ; Thu, 7 Sep 2017 18:32:09 +0200 (CEST) Message-ID: <1504801928.2562.2.camel@op.pl> Subject: Re: [PATCH] Change time_t to 64-bit by default From: Freddie Chopin To: newlib@sourceware.org Date: Thu, 07 Sep 2017 18:47:00 -0000 In-Reply-To: <649743792.32997.1504800209582.JavaMail.zimbra@embedded-brains.de> References: <20170907072050.28010-1-sebastian.huber@embedded-brains.de> <20170907123445.GE11060@calimero.vinschen.de> <1504794469.1677.0.camel@op.pl> <649743792.32997.1504800209582.JavaMail.zimbra@embedded-brains.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017/txt/msg00956.txt.bz2 On Thu, 2017-09-07 at 18:03 +0200, Sebastian Huber wrote: > 2147483647 days are roughly 5879489 years. This should be enough for > most applications. Unless you don't use gmtime_r() for calculating current time, but for experimenting with future dates. Such change does no harm in any case, while expanding possible range of function inputs. So why not? Regards, FCh