bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fchmodat.c & lchmod.c - O_PATH & AT_EMPTY_PATH on older kernels


From: Paul Eggert
Subject: Re: fchmodat.c & lchmod.c - O_PATH & AT_EMPTY_PATH on older kernels
Date: Sun, 12 Jun 2022 13:51:20 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

On 6/12/22 08:03, Bruno Haible wrote:

Two tests now fail, that succeeded before yesterday's patch.

Thanks for reporting that. Although I don't have MS-Windows I stared at the code a bit and I think I see what might be the problem. I found some other potential issues too (basically, I didn't switch from fstatat/lstat to readlinkat/readlink often enough so the code is still prone to EOVERFLOW problems). I installed the attached further patch, which I hope fixes things on MS-Windows and fixes the other issues too.

Attachment: 0001-fchmodat-port-better-to-MS-Windows-etc.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]