[squid-dev] [PATCH] avoid clobbering errno in debugs()

Kinkie gkinkie at gmail.com
Sat Jul 11 17:42:13 UTC 2015


Hi all,
  this patch saves and restores errno around calls to strftime in
debugLogTime, preventing harmless errors in these calls from clobbering
errno, thus messing up xstrerror() calls within debugs().


-- 
    Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20150711/360af4e9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug-noclobber-errno.patch
Type: text/x-patch
Size: 677 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20150711/360af4e9/attachment.bin>


More information about the squid-dev mailing list