From: Paul Eggert Date: Thu, 31 Dec 2020 17:05:13 +0000 (-0800) Subject: glob: merge proposed glibc changes X-Git-Tag: v1.0~3259 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=4e609740b678cc8c0fcfcf966ff5e6ccb28c464b;p=gnulib.git glob: merge proposed glibc changes This merges the change proposed by Adhemerval Zanella in: https://sourceware.org/pipermail/libc-alpha/2020-December/121211.html * lib/glob.c (__lstat64, __stat64) [_LIBC]: Remove. --- diff --git a/ChangeLog b/ChangeLog index 7dd4ffdd6e..5da7c043a8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2020-12-31 Paul Eggert + + glob: merge proposed glibc changes + This merges the change proposed by Adhemerval Zanella in: + https://sourceware.org/pipermail/libc-alpha/2020-December/121211.html + * lib/glob.c (__lstat64, __stat64) [_LIBC]: Remove. + 2020-12-31 Bruno Haible memalign: Work around Solaris bug. diff --git a/lib/glob.c b/lib/glob.c index 3c444d3b13..20239f780f 100644 --- a/lib/glob.c +++ b/lib/glob.c @@ -59,12 +59,6 @@ # define readdir(str) __readdir64 (str) # define getpwnam_r(name, bufp, buf, len, res) \ __getpwnam_r (name, bufp, buf, len, res) -# ifndef __lstat64 -# define __lstat64(fname, buf) __lxstat64 (_STAT_VER, fname, buf) -# endif -# ifndef __stat64 -# define __stat64(fname, buf) __xstat64 (_STAT_VER, fname, buf) -# endif # define struct_stat64 struct stat64 # define FLEXIBLE_ARRAY_MEMBER # include