From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 107873 invoked by alias); 11 Sep 2017 14:07:34 -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 105361 invoked by uid 89); 11 Sep 2017 14:07:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:238 X-HELO: zimbra.cs.ucla.edu Subject: Re: [RFC PATCH 51/52] Y2038: add RPC functions From: Paul Eggert To: "Albert ARIBAUD (3ADEV)" , libc-alpha@sourceware.org References: <20170907224219.12483-50-albert.aribaud@3adev.fr> <20170908174909.28192-1-albert.aribaud@3adev.fr> <20170908174909.28192-2-albert.aribaud@3adev.fr> Message-ID: <62caf80e-cb37-d572-4287-c9c5b5465c69@cs.ucla.edu> Date: Mon, 11 Sep 2017 14:07:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-09/txt/msg00444.txt.bz2 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.