From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x32.google.com (mail-oa1-x32.google.com [IPv6:2001:4860:4864:20::32]) by sourceware.org (Postfix) with ESMTPS id 278D33836666 for ; Wed, 1 Jun 2022 17:00:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 278D33836666 Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-e93bbb54f9so3471021fac.12 for ; Wed, 01 Jun 2022 10:00:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gjp431G7QWqeKFMV7KatNwyTK0WMr3E1NZI35DGGWoM=; b=5tHD2f7Ktle8+NFadVj/0dy+ozLxLk4y4Ak9yM+XBIf0tU8UPsgSHwAMCEfy1HQhx4 WJEp6zsPf7U2e+oVTLux2arrbdsBQiF2gWbKjnobFEB6ji+umh0y+RorAqZWzGO7SGd6 9yxLUZHjLdBQ+ZFU9MhqcjCHAh5RtHp3SrIVtKBczj6rlcXy93VgumBojrzZmGyE7EWh 2Kgh1h5oIqO8QN7V4DRmmFGgUWVFhaec7jJofi+mqauyK2R8r+r4SDj5CsAgne+A2rVF Migd4lyD7qOFpyhko4KLCMlIUPlZ8pl2sLGnkeap0vsRv/2EwJ2FhEtWD+8Bg0hcAhiH gEeA== X-Gm-Message-State: AOAM533HaAQ6QKwaFku23iSiIwlVzjkxPGk0XXIwvE2hgcd/mvbD/eH9 fM1CA2vu1drzT1piPWjcfoaZwQestPqUWg== X-Google-Smtp-Source: ABdhPJwP6zW5n7A/mrsV1MOcO3xW23+FazKAMGA2sGU0MOyU/cvwsB5HIGKwX+f/2pwsZhsQ7qzP4A== X-Received: by 2002:a05:6870:2047:b0:e9:1b34:fbe with SMTP id l7-20020a056870204700b000e91b340fbemr17493076oad.64.1654102837352; Wed, 01 Jun 2022 10:00:37 -0700 (PDT) Received: from birita.. ([2804:431:c7ca:e39c:a183:7f80:9e50:177b]) by smtp.gmail.com with ESMTPSA id bh35-20020a056808182300b00325cda1ff95sm1257658oib.20.2022.06.01.10.00.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 10:00:37 -0700 (PDT) From: Adhemerval Zanella To: libc-stable@sourceware.org Subject: [COMMITTED 2.34 5/8] socket: Use 64 bit stat for isfdtype (BZ# 29209) Date: Wed, 1 Jun 2022 14:00:25 -0300 Message-Id: <20220601170028.2638215-5-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220601170028.2638215-1-adhemerval.zanella@linaro.org> References: <20220601170028.2638215-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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-stable@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-stable mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2022 17:00:43 -0000 This is a missing spot initially from 52a5fe70a2c77935. Checked on i686-linux-gnu. (cherry picked from commit 87f1ec12e79a3895b33801fa816884f0d24ae7ef) --- NEWS | 1 + sysdeps/posix/isfdtype.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 7e3a759937..ee2234b917 100644 --- a/NEWS +++ b/NEWS @@ -105,6 +105,7 @@ The following bugs are resolved with this release: [29204] libc: getusershell is not 2038 aware [29207] libc: posix_fallocate fallback implementation is not y2038 [29208] libc: fpathconf(_PC_ASYNC_IO) is not y2038 aware + [29209] libc: isfdtype is not y2038 aware Version 2.34 diff --git a/sysdeps/posix/isfdtype.c b/sysdeps/posix/isfdtype.c index 06b5386c43..f18bcfef22 100644 --- a/sysdeps/posix/isfdtype.c +++ b/sysdeps/posix/isfdtype.c @@ -24,12 +24,12 @@ int isfdtype (int fildes, int fdtype) { - struct stat64 st; + struct __stat64_t64 st; int result; { int save_error = errno; - result = __fstat64 (fildes, &st); + result = __fstat64_time64 (fildes, &st); __set_errno (save_error); } -- 2.34.1