[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] posix: Sync tempname with gnulib [BZ #26648]
From: |
Adhemerval Zanella |
Subject: |
Re: [PATCH 1/2] posix: Sync tempname with gnulib [BZ #26648] |
Date: |
Mon, 11 Jan 2021 09:30:30 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 08/01/2021 22:58, Paul Eggert wrote:
> On 1/4/21 9:03 AM, Adhemerval Zanella wrote:
>
>> -# define __lstat64(version, file, buf) lstat (file, buf)
>> +# define __lxstat64(version, file, buf) lstat (file, buf)
>
> That change isn't quite right for the !_LIBC case, since it doesn't define
> the __stat64 macro and it defines __lstat64 with the wrong API.
>
> I installed the attached patch into Gnulib, which should do the change right
> for both Gnulib and glibc, the idea being that the Gnulib and glibc source
> files can be identical.
Indeed, I forgot that these symbols are still provided internally.