From patchwork Tue Jun 19 21:01:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Albert ARIBAUD (3ADEV)" X-Patchwork-Id: 931844 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-93419-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=3adev.fr Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="ng6ZA83N"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 419L3q1G8Mz9s47 for ; Wed, 20 Jun 2018 07:01:26 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; q=dns; s= default; b=lYD//yjoIoSjzBuw8c31Jeek0fAlBPMs0+oaFZN+NnmODwBCHDpyk x5DtHK3NasLDWN34TQLtXpuqZy2UpZh1jL7ot6neMjMTW3uB9LkEC2yqdh9lmZnw kARGNEedCwA6kteoUu8vc1wL0hcRy1uWn9kB7geLVxakNHSoOdONSM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; s=default; bh=GzNFGCwGzRYvsfmb4J0jWNvIum8=; b=ng6ZA83NB8Jk+pk5fA3SqagvpfBb 9WYvOsLEX/btEoXivMuJ2BV1VRQxmreWVVNIrbhkhxSx5hT1oOvL/q3c/yrZl3XX q7/2DUTN4JhzJ4RjG0yYGiBE3SIEZLnLHeKj2hEDVss4ehXeOz4M1RGQXfhSulag +xq3MnTqmPLqt/E= Received: (qmail 12980 invoked by alias); 19 Jun 2018 21:01:21 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 12957 invoked by uid 89); 19 Jun 2018 21:01:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.6 required=5.0 tests=BAYES_00, GIT_PATCH_2, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy= X-HELO: smtp1-g21.free.fr From: "Albert ARIBAUD (3ADEV)" To: libc-alpha@sourceware.org Cc: "Albert ARIBAUD (3ADEV)" Subject: [PATCH v2 0/1] Y2038 support batch 2 - __mktime_internal Date: Tue, 19 Jun 2018 23:01:11 +0200 Message-Id: <20180619210112.1600-1-albert.aribaud@3adev.fr> This is the second batch of Y2038 support changes. It applies above the first batch. This change batch makes __mktime_internal compatible with 64-bit time. This implies creating 64-bit-time versions of its callers and turning their original versions into wrappers if they were 32-bit-time. These patches are functionally tested as part of the whole Y2038 patch series using the ad hoc framework at https://github.com/3adev/y2038 which runs tests using times below, at and beyond the Y2038 limit. These patches were also run through build-many-glibcs.py to ensure that existing glibc configurations are not broken. The minimal configuration set used is x86_64-linux-gnu, aarch64-linux-gnu, powerpc-linux-gnu, and arm-linux-gnueabi. Albert ARIBAUD (3ADEV) (1): Y2038: make __mktime_internal compatible with 64-bit-time include/time.h | 12 ++-- time/mktime.c | 180 ++++++++++++++++++++++++------------------------- time/timegm.c | 24 +++++-- 3 files changed, 112 insertions(+), 104 deletions(-)