]> git.ipfire.org Git - thirdparty/squid.git/commit - src/StoreMetaUnpacker.cc
Compat: cleanup several config.h hacks
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 13 Dec 2010 11:31:14 +0000 (00:31 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 13 Dec 2010 11:31:14 +0000 (00:31 +1300)
commit41d00cd39ee1d8d8ea0808b9c100069f151efa10
tree6d689eda734e05ea66d70f061b9d4391592ac64b
parentd383f66ad3d31bf93d18ee56f41e02cde859c424
Compat: cleanup several config.h hacks

* removes the xmemcpy and xmemmove hacks. Squid has been building for some
  long time without them being consistently used all-over. No complaints.
  bcopy() alternative is still use if needed. However main code can now
  use memcpy( )and memmove() without special X knowledge.

* shuffle strnstr replacement into libcompat from libmisc

* shuffles xis*() function wrappers for is*() with type-casting into compat

No operational changes.
74 files changed:
compat/GnuRegex.c
compat/Makefile.am
compat/compat_shared.h
compat/os/mswin.h
compat/strnstr.cc [moved from lib/strnstr.cc with 96% similarity]
compat/xalloc.cc
compat/xis.h [new file with mode: 0644]
doc/Programming-Guide/02_CodingConventions.dox
include/config.h
include/strnstr.h [deleted file]
lib/Makefile.am
snmplib/asn1.c
snmplib/snmp_pdu.c
snmplib/snmp_vars.c
src/CacheDigest.cc
src/CpuAffinitySet.cc
src/DiskIO/DiskDaemon/DiskdFile.cc
src/DiskIO/DiskThreads/aiops.cc
src/DiskIO/DiskThreads/aiops_win32.cc
src/MemBuf.cc
src/MemObject.cc
src/StatHist.cc
src/StoreMeta.cc
src/StoreMetaUnpacker.cc
src/String.cc
src/acl/Asn.cc
src/acl/TimeData.cc
src/cache_diff.cc
src/client_side.cc
src/client_side_reply.cc
src/comm_select.cc
src/comm_select_win32.cc
src/disk.cc
src/dns_internal.cc
src/esi/Esi.cc
src/esi/Include.cc
src/esi/Segment.cc
src/filemap.cc
src/fs/coss/store_dir_coss.cc
src/fs/coss/store_io_coss.cc
src/fs/ufs/store_dir_ufs.cc
src/fs/ufs/ufscommon.cc
src/ftp.cc
src/gopher.cc
src/htcp.cc
src/http.cc
src/icmp/Icmp4.cc
src/icmp/Icmp6.cc
src/icmp/IcmpPinger.cc
src/icmp/IcmpSquid.cc
src/icmp/net_db.cc
src/icp_v2.cc
src/ipc/TypedMsgHdr.cc
src/ipcache.cc
src/log/ModDaemon.cc
src/log/ModStdio.cc
src/log/ModTcp.cc
src/log/ModUdp.cc
src/pconn.cc
src/peer_digest.cc
src/recv-announce.cc
src/snmp_core.cc
src/stat.cc
src/stmem.cc
src/store_client.cc
src/store_dir.cc
src/store_key_md5.cc
src/store_swapmeta.cc
src/test_cache_digest.cc
src/url.cc
src/urn.cc
src/wccp.cc
src/wccp2.cc
test-suite/pconn-banger.c