From patchwork Tue Dec 18 14:09:50 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: 1015373 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-98476-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="W/QD2ehi"; 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 43K0KH3j2Dz9sC7 for ; Wed, 19 Dec 2018 01:10:11 +1100 (AEDT) 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:subject:date:message-id; q=dns; s= default; b=GPHSz7pvtHSI9Lcy+xFSxGa1SDLFA7GyFNMzXsbheS1HGC3ilHwOy aKNb2nziyGrjh/MO79l7teEJQ485vsrG7GfDtWfYVaE/1zfEhKBvbFyc5nIC0tln OE4h+3Ce3bASyWDKYTuoEw+WewR2GNE7bhPKYP1ZnI/Tbw2aHg1EoM= 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:subject:date:message-id; s=default; bh=9pb6XJEpql6oEAYcggfXmhdWRxo=; b=W/QD2ehiOWmazoIvXG73cbcyfHzi UM8nFOilbxXjz0HZ6dYwiwN3QDq0CmzV+JgFzSF2XGjXbZwzE75hMaCMiymrsSYG CsdHNQE6Wn5A81gCDlKAIhrZBtgaBaF1CJzqF+RvYP2FjqDnAnCg+7eiu3FN0lWl pWnRZKFmDPthmNU= Received: (qmail 9767 invoked by alias); 18 Dec 2018 14:10:05 -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 9735 invoked by uid 89); 18 Dec 2018 14:10:04 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-10.9 required=5.0 tests=BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=five X-HELO: smtp3-g21.free.fr From: "Albert ARIBAUD (3ADEV)" To: libc-alpha@sourceware.org Subject: [PATCH v2 0/5] Y2038: process remaining struct tm conv functions Date: Tue, 18 Dec 2018 15:09:50 +0100 Message-Id: <20181218140955.7910-1-albert.aribaud@3adev.fr> These five patches are similar to commit 6e15f3e just applied for function localtime ; each one covers one of the other functions converting to or from struct tm. v2: added period and double spaces where missing in comments added libc_hidden_proto / libc_hidden_def added missing #else part of __gmtime64 declaration removed extra call arguments in some wrapper definitions Series tested with 'make check' on x86_64-linux-gnu and i686-linux.gnu. Albert ARIBAUD (3ADEV) (5): Y2038: add function __localtime64_r Y2038: add function __gmtime64 Y2038: add function __gmtime64_r Y2038: add function __ctime64 Y2038: add function __ctime64_r include/time.h | 38 ++++++++++++++++++++++++++++++++++++++ time/ctime.c | 19 +++++++++++++++++-- time/ctime_r.c | 19 +++++++++++++++++-- time/gmtime.c | 36 +++++++++++++++++++++++++++++++++--- time/localtime.c | 17 ++++++++++++++++- 5 files changed, 121 insertions(+), 8 deletions(-)