From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1792) id 4744A3853802; Thu, 22 Jul 2021 18:31:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4744A3853802 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Samuel Thibault To: glibc-cvs@sourceware.org Subject: [glibc] hurd: Fix glob lstat compatibility X-Act-Checkin: glibc X-Git-Author: Samuel Thibault X-Git-Refname: refs/heads/master X-Git-Oldrev: f032ac3b838387c00210e6d8aefcb070360252ef X-Git-Newrev: 9a7ab0769b295cbf5232140401742a8f34bda3de Message-Id: <20210722183157.4744A3853802@sourceware.org> Date: Thu, 22 Jul 2021 18:31:57 +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: Thu, 22 Jul 2021 18:31:57 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9a7ab0769b295cbf5232140401742a8f34bda3de commit 9a7ab0769b295cbf5232140401742a8f34bda3de Author: Samuel Thibault Date: Thu Jul 22 18:29:57 2021 +0000 hurd: Fix glob lstat compatibility 84f7ce84474c ("posix: Add glob64 with 64-bit time_t support") replaced GLOB_NO_LSTAT with defining GLOB_LSTAT and GLOB_LSTAT64, but the posix and gnu versions of the change were missing in the commit. Diff: --- posix/glob-lstat-compat.c | 3 ++- sysdeps/gnu/glob-lstat-compat.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/posix/glob-lstat-compat.c b/posix/glob-lstat-compat.c index 00d791d03b..f91c7cc2d4 100644 --- a/posix/glob-lstat-compat.c +++ b/posix/glob-lstat-compat.c @@ -28,7 +28,8 @@ # define GLOB_ATTRIBUTE attribute_compat_text_section /* Avoid calling gl_lstat with GLOB_ALTDIRFUNC. */ -# define GLOB_NO_LSTAT +# define GLOB_LSTAT gl_stat +# define GLOB_LSTAT64 __stat64 # include diff --git a/sysdeps/gnu/glob-lstat-compat.c b/sysdeps/gnu/glob-lstat-compat.c index 128f84c07c..caa485935e 100644 --- a/sysdeps/gnu/glob-lstat-compat.c +++ b/sysdeps/gnu/glob-lstat-compat.c @@ -29,7 +29,8 @@ #define GLOB_ATTRIBUTE attribute_compat_text_section /* Avoid calling gl_lstat with GLOB_ALTDIRFUNC. */ -#define GLOB_NO_LSTAT +#define GLOB_LSTAT gl_stat +#define GLOB_LSTAT64 __stat64 #include