[squid-dev] Removal of xstrerror?
Amos Jeffries
squid3 at treenet.co.nz
Tue May 12 22:11:31 UTC 2015
On 13/05/2015 7:30 a.m., Alex Dowad wrote:
> Hi,
>
> I'm just questioning whether removing xstrerror is really desirable in cases where it is called without any intervening library function call which could overwrite errno. Amos, are you sure that's what you want to do?
>
I am. It's just a macro in compat/ representing "xstrerr(errno)" and as
you and others have been finding its used incorrectly often enough to
cause problems. In all the code where it was being used right
xstrerr(errno) can be used directly in its place.
Amos
More information about the squid-dev
mailing list