#define _GNU_SOURCE 1
#endif
-#define SQUID_NO_ALLOC_PROTECT 1
#include "config.h"
#if USE_GNUREGEX /* only if squid needs it. Usually not */
#undef HAVE_MALLOC_H
#endif
-/* Exclude CPPUnit tests from the allocator restrictions. */
-/* BSD implementation uses these still */
-#if defined(SQUID_UNIT_TEST)
-#define SQUID_NO_ALLOC_PROTECT 1
-#endif
-
#endif /* _SQUID_DRAGONFLY_ */
#endif /* SQUID_OS_DRAGONFLY_H */
#define _etext etext
-/* Exclude CPPUnit tests from the allocator restrictions. */
-/* BSD implementation uses these still */
-#if defined(SQUID_UNIT_TEST)
-#define SQUID_NO_ALLOC_PROTECT 1
-#endif
-
/*
* This OS has at least one version that defines these as private
* kernel macros commented as being 'non-standard'.
*--------------------------------------------------------------------------*
****************************************************************************/
-/* Exclude CPPUnit tests from the allocator restrictions. */
-/* BSD implementation uses these still */
-#if defined(SQUID_UNIT_TEST)
-#define SQUID_NO_ALLOC_PROTECT 1
-#endif
-
/* NetBSD does not provide sys_errlist global for strerror */
#define NEED_SYS_ERRLIST 1
#undef HAVE_MALLOC_H
#endif
-/* Exclude CPPUnit tests from the allocator restrictions. */
-/* BSD implementation uses these still */
-#if defined(SQUID_UNIT_TEST)
-#define SQUID_NO_ALLOC_PROTECT 1
-#endif
-
/*
* This OS has at least one version that defines these as private
* kernel macros commented as being 'non-standard'.
* Trap unintentional use of functions unsafe for use within squid.
*/
-#if !SQUID_NO_ALLOC_PROTECT
-#ifndef free
-#define free(x) ERROR_free_UNSAFE_IN_SQUID(x)
-#endif
-#ifndef malloc
-#define malloc ERROR_malloc_UNSAFE_IN_SQUID
-#endif
-#ifndef calloc
-#define calloc ERROR_calloc_UNSAFE_IN_SQUID
-#endif
-#endif /* !SQUID_NO_ALLOC_PROTECT */
-
#if !SQUID_NO_STRING_BUFFER_PROTECT
#ifndef sprintf
#define sprintf ERROR_sprintf_UNSAFE_IN_SQUID
* - Allow full filter specifications in -f
*/
-#define SQUID_NO_ALLOC_PROTECT 1
#include "config.h"
#define LDAP_DEPRECATED 1
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#define SQUID_NO_ALLOC_PROTECT 1
#include "util.h"
#include "smblib-priv.h"
*/
/* the types are provided by squid's configure preocess */
-#define SQUID_NO_ALLOC_PROTECT 1
#include "config.h"
#define BOOL int16_t
* The code originated from denyusers.c.
*/
-#define SQUID_NO_ALLOC_PROTECT 1
#include "config.h"
#include "util.h"
*
* Compile this program with: gcc -o basic_pam_auth basic_pam_auth.cc -lpam -ldl
*/
-#define SQUID_NO_ALLOC_PROTECT 1
#include "config.h"
#include "helpers/defines.h"
#include "rfc1738.h"
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
*/
-#define SQUID_NO_ALLOC_PROTECT 1
#include "config.h"
#include "helpers/defines.h"
#include "rfc1738.h"
* ldap_backend.c
* AUTHOR: Flavio Pescuma, MARA Systems AB <flavio@marasystems.com>
*/
-#define SQUID_NO_ALLOC_PROTECT 1
#include "config.h"
#include "util.h"
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
-#define SQUID_NO_ALLOC_PROTECT 1
#include "config.h"
#include "digest_common.h"
* ldap_backend.c
* AUTHOR: Flavio Pescuma, MARA Systems AB <flavio@marasystems.com>
*/
-#define SQUID_NO_ALLOC_PROTECT 1
#include "config.h"
#define LDAP_DEPRECATED 1
*
* Copyright (c) 2003 Robert Collins <robertc@squid-cache.org>
*/
-#define SQUID_NO_ALLOC_PROTECT 1
#include "config.h"
#include "text_backend.h"
* as published by the Free Software Foundation; either version 2,
* or (at your option) any later version.
*/
-#define SQUID_NO_ALLOC_PROTECT 1
#include "config.h"
#include "helpers/defines.h"
#include "rfc1738.h"
* Author: Rodrigo Campos (rodrigo@geekbunker.org)
*
*/
-#define SQUID_NO_ALLOC_PROTECT 1
#include "config.h"
#include "helpers/defines.h"
#include "rfc1738.h"
/** This function parses the dictionary file and loads it
* in memory. All IP addresses are processed with a bitwise AND
* with their netmasks before they are stored.
- * If there´s no netmask (no /) in the in the lhs , a mask
+ * If there?s no netmask (no /) in the in the lhs , a mask
* 255.255.255.255 is assumed.
* It returns a pointer to the first entry of the linked list
*/
if ((inet_addr (address) & (unsigned long) current_entry->
netmask) == current_entry->address) {
- /* If the username contains an @ we assume it´s a group and
+ /* If the username contains an @ we assume it?s a group and
call the corresponding function */
if ((strchr (current_entry->username, '@')) == NULL) {
if ((match_user (current_entry->username, username)) == 1)
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
*
*/
-#define SQUID_NO_ALLOC_PROTECT 1
#include "config.h"
#include "compat/debug.h"
#include "libntlmauth/ntlmauth.h"
*
*/
-#define SQUID_NO_ALLOC_PROTECT 1
#include "config.h"
/* This include needs to be BELOW config, as it may undef USE_XPROF_STATS */
#define _etext etext
-/* NP: this file is where the memory allocators are defined. */
-#define SQUID_NO_ALLOC_PROTECT 1
-
#include "config.h"
#include "profiling.h"
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#define SQUID_NO_ALLOC_PROTECT 1
#include "config.h"
#include "libntlmauth/rfcnb-priv.h"
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#define SQUID_NO_ALLOC_PROTECT 1
#include "config.h"
#include "libntlmauth/rfcnb-priv.h"
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#define SQUID_NO_ALLOC_PROTECT 1
#include "config.h"
#include "libntlmauth/rfcnb.h"
#include "libntlmauth/smblib-priv.h"
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#define SQUID_NO_ALLOC_PROTECT 1
#include "config.h"
#include "libntlmauth/rfcnb.h"