From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oa1-x2f.google.com with SMTP id 586e51a60fabf-16a7f5b6882so15899395fac.10 for ; Mon, 13 Feb 2023 09:13:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=sV6L5aN335mhWenY8VLxTJhWCz1IEBJvhrtPaA9KoGM=; b=XELMHY7JNO53zsxBCFPpq4JTtB6kIk2EcksePm/POmhxNCIqvXy1pc1Npc9hZaN7D5 eA9Al3UdasVh2fIemK2pD4MzVMDQaaDvsBg6o7QhAW2+PE+7Vi32b1TaVHIyz2L9si72 VCg2BcW6WeaQTGsoj6pzkk8+FrtOmFhlhbpFbI7BDPRoi6nIFST3p6ahQ8L/nX1UuUHI aW9wruAEwbo9KOfY4Ma1Kxte+1sop3YZp8MulVnFPCb8VQ49HMcF64Fj11emj5ZyLjJR mjxtXKYKjxIgpxRrPKbnPrX7k4hnNGVR8SmuATOqmsvTOZ3r1nnSQW9fPIAqJEKt2m2J 5WcA== 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) From: Adhemerval Zanella 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 Content-Transfer-Encoding: 8bit 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 List-Id: 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 -- 2.34.1