summaryrefslogtreecommitdiff
path: root/package/tor/patches/patch-src_common_util_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-12 14:39:24 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-12 14:39:24 +0100
commit59ce7d33c33ca0e0bc74ff57485e754d4a8fb371 (patch)
treefc7266ec8b10a2fc11c7fe65ad2510c70edccaef /package/tor/patches/patch-src_common_util_h
parent4b44c9db6d66aae84c0c24278878180373189a37 (diff)
update to latest upstream
Diffstat (limited to 'package/tor/patches/patch-src_common_util_h')
-rw-r--r--package/tor/patches/patch-src_common_util_h23
1 files changed, 0 insertions, 23 deletions
diff --git a/package/tor/patches/patch-src_common_util_h b/package/tor/patches/patch-src_common_util_h
deleted file mode 100644
index f6607ffc1..000000000
--- a/package/tor/patches/patch-src_common_util_h
+++ /dev/null
@@ -1,23 +0,0 @@
---- tor-0.2.1.20.orig/src/common/util.h 2009-06-19 08:13:53.000000000 +0200
-+++ tor-0.2.1.20/src/common/util.h 2009-12-03 23:47:21.000000000 +0100
-@@ -24,20 +24,6 @@
- #define O_TEXT 0
- #endif
-
--/* Replace assert() with a variant that sends failures to the log before
-- * calling assert() normally.
-- */
--#ifdef NDEBUG
--/* Nobody should ever want to build with NDEBUG set. 99% of our asserts will
-- * be outside the critical path anyway, so it's silly to disable bug-checking
-- * throughout the entire program just because a few asserts are slowing you
-- * down. Profile, optimize the critical path, and keep debugging on.
-- *
-- * And I'm not just saying that because some of our asserts check
-- * security-critical properties.
-- */
--#error "Sorry; we don't support building with NDEBUG."
--#endif
-
- /** Like assert(3), but send assertion failures to the log as well as to
- * stderr. */