[squid-dev] RFC: ACL clashes with Windows system entity

Amos Jeffries squid3 at treenet.co.nz
Thu Dec 7 01:35:35 UTC 2023


On 7/12/23 10:47, Francesco Chemolli wrote:
> Hi all,
>    I'm looking at improving windows portability, and we have a name 
> clash with a Windows system header 
> (https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-acl 
> <https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-acl>)
> 
> So.. how to deal with it?
> I can see two options: either we lift ACL into the Acl namespace, or we 
> need to rename it. ACL is referenced in 106 files, so the change is 
> going to be big, so I ask if there are any opinions on how to go about this
> 

Or both.

I got partway through fixing this in 
<https://github.com/squid-cache/squid/pull/1350>. Feel free to resume it 
if you like.

Amos


More information about the squid-dev mailing list