]> git.ipfire.org Git - thirdparty/squid.git/commit
Move compat/unsafe.h protections from libcompat to source maintenance
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 8 Feb 2014 12:33:31 +0000 (05:33 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 8 Feb 2014 12:33:31 +0000 (05:33 -0700)
commitb8889258520a73489a4d7c1910ea96ee1b727524
tree6310505b359536310ccaf577e6a7e14cbc35cfd8
parent141eb4a667d459c76691cc336bf326097b0119d5
Move compat/unsafe.h protections from libcompat to source maintenance

It is sufficient to run a code scan from source-maintenance.sh for the
unsafe functions being used in Squid-specific code instead of
hard-coding compiler breakage on users.
This also "fixes" reporting of errors when cstdio pulls in use of the
unsafe functions by stdlib.
compat/Makefile.am
compat/compat.h
compat/unsafe.h [deleted file]
scripts/source-maintenance.sh
src/cache_cf.cc