From patchwork Wed Nov 21 00:28:36 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: 1000808 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-97393-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="RVhZGUiG"; 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 4303N75xTnz9s3q for ; Wed, 21 Nov 2018 11:28:55 +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=wpFdDM2QiiJYkIFr3JNfGNOv/4N1skkPzqCp3lbNKR/Txc3v9B/VT 2cPt9VKbudibO2RNYdfJtJc8UYW/mdJb+SfQqv+DTOk7QdvJrioZEEDTs3BX+HS8 hFEaPk/A71Iof01LzONSQwsgMg0NxVQMH5KXIHqi6iHGZ8JUyhHGKY= 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=6aWPYea0yDJoq0twUVtvMTJ5WwQ=; b=RVhZGUiG8JeUuN17exr/Zo+iK3vU QC8tA1X3H7vk4Vkt614FO6CttbFWPAIs1gXhgJbbMrzJZAe0qNV1S8oE4vAb/toy g4AeUfPksdUkvYYLbHlOvEUscM8tnPqeR0oraJ+RM/uVnnigX2yF9YrmgeYbjN7y aRQfZCE1a4tE344= Received: (qmail 58174 invoked by alias); 21 Nov 2018 00:28:49 -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 58163 invoked by uid 89); 21 Nov 2018 00:28:48 -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=albert, HX-Envelope-From:sk:albert. X-HELO: smtp3-g21.free.fr From: "Albert ARIBAUD (3ADEV)" To: libc-alpha@sourceware.org Subject: [PATCH 0/8] Y2038 struct tm related patches Date: Wed, 21 Nov 2018 01:28:36 +0100 Message-Id: <20181121002844.14530-1-albert.aribaud@3adev.fr> This series introduces Y2038-proof struct tm related functions. First, it makes __tz_convert 64-bit-time compatible, as this function is used in several struct tm related public interfaces. Then it adds Y2038-proof versions of said interfaces. Albert ARIBAUD (3ADEV) (7): Y2038: make __tz_convert compatible with 64-bit-time Y2038: add function __localtime64 Y2038: add function __localtime64_r Y2038: add function __gmtime64 Y2038: add function __gmtime64_r Y2038: add function __ctime64 Y2038: add function __ctime64_r Paul Eggert (1): Y2038: make __mktime_internal compatible with __time64_t include/time.h | 81 ++++++++++++++++++++++++++++++++++++++++++------ time/ctime.c | 14 +++++++++ time/ctime_r.c | 13 ++++++++ time/gmtime.c | 33 ++++++++++++++++++-- time/localtime.c | 35 ++++++++++++++++++--- time/mktime.c | 67 ++++++++++++++++++++++++++------------- time/offtime.c | 12 +++---- time/timegm.c | 21 +++++++++++-- time/tzfile.c | 14 +++------ time/tzset.c | 27 ++++++---------- 10 files changed, 242 insertions(+), 75 deletions(-)