From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 42940 invoked by alias); 11 Sep 2017 15:59:59 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 42928 invoked by uid 89); 11 Sep 2017 15:59:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Hx-languages-length:443 X-HELO: smtp3-g21.free.fr Date: Mon, 11 Sep 2017 15:59:00 -0000 From: Albert ARIBAUD To: Paul Eggert Cc: libc-alpha@sourceware.org Subject: Re: [RFC PATCH 51/52] Y2038: add RPC functions Message-ID: <20170911175951.3db5950d.albert.aribaud@3adev.fr> In-Reply-To: <62caf80e-cb37-d572-4287-c9c5b5465c69@cs.ucla.edu> References: <20170907224219.12483-50-albert.aribaud@3adev.fr> <20170908174909.28192-1-albert.aribaud@3adev.fr> <20170908174909.28192-2-albert.aribaud@3adev.fr> <62caf80e-cb37-d572-4287-c9c5b5465c69@cs.ucla.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2017-09/txt/msg00451.txt.bz2 Hi Paul, On Mon, 11 Sep 2017 07:07:29 -0700, Paul Eggert wrote : > Paul Eggert wrote: > > static inline bool > > fits_in_time_t (__time64_t t) > > { > > return t == (time64_t) t; > > } > > Ooops, that last statement should be "return t == (time_t) t;" of course. Sorry. Noted -- and thanks to you and Marc for the simpler formulation. Cordialement, Albert ARIBAUD 3ADEV