aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-03-19 15:45:44 +0000
committerChris Michael <cp.michael@samsung.com>2013-03-26 08:53:33 +0000
commit3aa81f2a6175d396699c7ba9895f998dcd6080fe (patch)
tree62147bdc8acfd7e8e5d3dbf011b31b382aed4cc5
parentRevert "eina: reenable them as it was a bug from Tasn." (diff)
downloadefl-3aa81f2a6175d396699c7ba9895f998dcd6080fe.tar.gz
Disable cow magic in dev profile, instead of a hack in the source.
Well played cedric, making me revert your patch and thus breaking the build.
-rw-r--r--configure.ac2
-rw-r--r--src/lib/eina/eina_cow.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 21cfd2075e..3cbfccc882 100644
--- a/configure.ac
+++ b/configure.ac
@@ -620,7 +620,7 @@ case "${build_profile}" in
want_debug_malloc="no"
want_debug_threads="no"
want_default_mempool="no"
- want_cow_magic="yes"
+ want_cow_magic="no"
;;
debug)
diff --git a/src/lib/eina/eina_cow.c b/src/lib/eina/eina_cow.c
index e816d1a1d8..c1573ffade 100644
--- a/src/lib/eina/eina_cow.c
+++ b/src/lib/eina/eina_cow.c
@@ -38,7 +38,6 @@
#ifdef HAVE_BACKTRACE
# include <execinfo.h>
#endif
-#undef EINA_COW_MAGIC_ON
#ifdef EINA_COW_MAGIC_ON
#define EINA_COW_MAGIC 0xDEADBEEF