From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 9A1B7385E00A; Wed, 1 Jun 2022 16:57:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9A1B7385E00A Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/release/2.34/master] socket: Use 64 bit stat for isfdtype (BZ# 29209) X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/release/2.34/master X-Git-Oldrev: f9c3e57ac25511db78f3d51a38f6a715be220479 X-Git-Newrev: 61fd3e0e7495f597b41e90d3e045b8c3b182a23d Message-Id: <20220601165738.9A1B7385E00A@sourceware.org> Date: Wed, 1 Jun 2022 16:57:38 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2022 16:57:38 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=61fd3e0e7495f597b41e90d3e045b8c3b182a23d commit 61fd3e0e7495f597b41e90d3e045b8c3b182a23d Author: Adhemerval Zanella Date: Tue May 31 12:28:20 2022 -0300 socket: Use 64 bit stat for isfdtype (BZ# 29209) This is a missing spot initially from 52a5fe70a2c77935. Checked on i686-linux-gnu. (cherry picked from commit 87f1ec12e79a3895b33801fa816884f0d24ae7ef) Diff: --- 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); }