From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by sourceware.org (Postfix) with ESMTPS id 5648838376C3 for ; Wed, 1 Jun 2022 17:40:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5648838376C3 Received: by mail-ot1-x330.google.com with SMTP id r12-20020a056830448c00b0060aec7b7a54so1737387otv.5 for ; Wed, 01 Jun 2022 10:40:16 -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=bAU48BmQo0vYb71954/RWS96wG6c2VNx7OzifEjU4P0=; b=7H3puim6DBLFs/OAEeBSiEbbk0IP5+jVmWf3gJaofb/fzjNZ14iqmf7f3Fn55dI7cp uJsaXF5JYh0G2Oc6Vb0HELP99ACBxIOR4LnP/+ajrcAgSmwYr7oWMLdcWY4zZU8Q/RIK 5qXs4VirsgH0cUIkSv+QV10LYylEcjaQik/SEKeKapOnFQ7xRVwEwQxtYnWnfSve8kFo h5Xlh8jREcXy4m59kbbRWjMt5/VHetUTDwACqovLgl2eQF+OgjxjG6vsO30bJUPRjOE9 yHTWSAegvzxDnt5RHK+RjgmTQDdDp2Zw27co0fiEKwTVvuvnamQGMwN9cIbnZjN2r2TO pz/g== X-Gm-Message-State: AOAM532S6+cRXuyiMjChOIxaQcrvcJXi22Pf73+TQlpVTx2m8Mzk9Kx4 gGpvTlFaiwPSm38CRvwpHfrHCuPKAh7VvQ== X-Google-Smtp-Source: ABdhPJxXU6pFblmnY9ZEGzYsepikWKIwjfUR4jgEeV+quyFdtuPVGH0hddBgx5Pa53NrApSgfjm0AA== X-Received: by 2002:a9d:5e91:0:b0:605:df49:462 with SMTP id f17-20020a9d5e91000000b00605df490462mr410604otl.228.1654105215501; Wed, 01 Jun 2022 10:40:15 -0700 (PDT) Received: from birita.. ([2804:431:c7ca:e39c:a183:7f80:9e50:177b]) by smtp.gmail.com with ESMTPSA id l14-20020a0568301d6e00b0060ae954bf27sm1052578oti.62.2022.06.01.10.40.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 10:40:15 -0700 (PDT) From: Adhemerval Zanella To: libc-stable@sourceware.org Subject: [COMMITTED 2.35 5/8] socket: Use 64 bit stat for isfdtype (BZ# 29209) Date: Wed, 1 Jun 2022 14:40:03 -0300 Message-Id: <20220601174006.219504-5-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220601174006.219504-1-adhemerval.zanella@linaro.org> References: <20220601174006.219504-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.6 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:40:17 -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 4757dea7ab..c943938656 100644 --- a/NEWS +++ b/NEWS @@ -36,6 +36,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.35 diff --git a/sysdeps/posix/isfdtype.c b/sysdeps/posix/isfdtype.c index 192c7f9be6..d26c14259e 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