[squid-dev] [PATCH] Fix various issues detected by Coverity Scan
Kinkie
gkinkie at gmail.com
Sun Jul 12 17:26:28 UTC 2015
>
> Meh I mucked up there. THat wont work due to same reason for not using
> xstrerror().
>
> Use a const int xerrno = errno; first, then inside the debugs( ...
> xstrerr(xerrno) ...
>
>From my reading of the docs, there is no guarantee that errno be int; only
that it is an integral type.
I'm using const auto (seems a perfect use case for it) unless anyone knows
more.
--
Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20150712/f1c85766/attachment.html>
More information about the squid-dev
mailing list