From patchwork Mon Feb 13 17:13:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 64918 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5AB9A3893673 for ; Mon, 13 Feb 2023 17:14:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5AB9A3893673 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676308463; bh=sV6L5aN335mhWenY8VLxTJhWCz1IEBJvhrtPaA9KoGM=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=U/zFSEJzpuLqmDaoAmiKvUyhtmUF6Y4tQ4TqF8FVNQCwuBDJ3eTuOUofpJRjPJs+l d7xz/1MGdTc2IopNwTd4yAfpyJfhfbl5UUMhnXWAOVG/w5NzzfZ0fr1U+V3XTd3SwN J/ZJRTXOh2JUJ3j+Bkm+IYX2kff9g29/FRAXF+VE= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-oa1-x2f.google.com (mail-oa1-x2f.google.com [IPv6:2001:4860:4864:20::2f]) by sourceware.org (Postfix) with ESMTPS id 11AD438425A5 for ; Mon, 13 Feb 2023 17:13:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 11AD438425A5 Received: by mail-oa1-x2f.google.com with SMTP id 586e51a60fabf-16a7f5b6882so15899395fac.10 for ; Mon, 13 Feb 2023 09:13:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sV6L5aN335mhWenY8VLxTJhWCz1IEBJvhrtPaA9KoGM=; b=lv1yPiwU1Vp6YO6N1QFUf8/422iu57c6eheDnGjN81U9+Q3PaLK4d2LqZn+yZ/GWNJ /CQ0Li/3fxjXQnJHhu5c22dbck9eZHKoT5is2eVlYCsMeBo/97QJZkQIqi0HnPeoHsRA 9nTWgQnrp3Yd2mv/5J2S9SucFooAihHnqH3PlSAq4VtNerVF35QFi0ejlQ6sQkVdrM9c SippcrT+agCA2L3jAkrOJlkuC2q2brWTmttJnB3asgx0umtQATl3kcDuo1wpDLZcFWl7 S7CbNY3qCCgPUKwQ7nJl6OSfrCTXhdrDYmTIMU8oEJnqNoILxD+BHq16oKxVcY3K+4XJ GQtg== X-Gm-Message-State: AO0yUKUmD36opoYPc6UYZ0QsAIPj9tXad/crGcqyHug9wwCo9lgB92HT dGZb9BF/w5YFRrQMAI5DcmYAgIkNC3W/P8vv X-Google-Smtp-Source: AK7set/n/mzDvZtDZcyXaUh0EOYk6YdFJ/igH5ltcp4cAcfBtNPpBuunzEZKMTKCG8P8zjcgxIbvMQ== X-Received: by 2002:a05:6870:e416:b0:16d:e0c3:ca77 with SMTP id n22-20020a056870e41600b0016de0c3ca77mr5090253oag.9.1676308403797; Mon, 13 Feb 2023 09:13:23 -0800 (PST) Received: from mandiga.. ([2804:1b3:a7c2:f662:138b:cd0c:7b7a:8860]) by smtp.gmail.com with ESMTPSA id q71-20020a4a334a000000b004c60069d1fbsm5045332ooq.11.2023.02.13.09.13.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 09:13:22 -0800 (PST) To: libc-alpha@sourceware.org Subject: [PATCH 9/9] support: Use 64 bit time_t routines on xmkdirp Date: Mon, 13 Feb 2023 14:13:02 -0300 Message-Id: <20230213171302.3045672-10-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230213171302.3045672-1-adhemerval.zanella@linaro.org> References: <20230213171302.3045672-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Adhemerval Zanella via Libc-alpha From: Adhemerval Zanella Netto Reply-To: Adhemerval Zanella Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" The failure only shows if the system time is set past 2038. Checked on i686-linux-gnu and on system emulated arm-linux-gnueabihf with time set past y2038. --- support/xmkdirp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/support/xmkdirp.c b/support/xmkdirp.c index 5a47153720..d3009cdf78 100644 --- a/support/xmkdirp.c +++ b/support/xmkdirp.c @@ -16,6 +16,9 @@ License along with the GNU C Library; if not, see . */ +#define _FILE_OFFSET_BITS 64 +#define _TIME_BITS 64 + #include #include #include