This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "snap-core".
The branch, master has been updated
via 826b388408225b76c74f2a3a2c028f2a7052d9d6 (commit)
from 405d54d744fa6823a5fca6b0acb38aa212ec1901 (commit)
Summary of changes:
snap-core.cabal | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 826b388408225b76c74f2a3a2c028f2a7052d9d6
Author: Gregory Collins <[email protected]>
Date: Sun Feb 6 10:26:17 2011 -0500
Turn off debugging by default
diff --git a/snap-core.cabal b/snap-core.cabal
index cb9f904..3b3ef34 100644
--- a/snap-core.cabal
+++ b/snap-core.cabal
@@ -97,14 +97,12 @@ Flag portable
Default: False
-Flag no-debug
- Description: Disable any debug logging code. Without this flag, Snap will
+Flag debug
+ Description: Enable debug logging code. With this flag, Snap will
test the DEBUG environment variable to decide whether to do
logging, and this introduces a tiny amount of overhead
(a call into a function pointer) because the calls to 'debug'
- cannot be inlined. Users who want to squeeze out maximum
- performance can set the no-debug flag to get a version of Snap
- which has debug calls that should be inlined away.
+ cannot be inlined.
Default: False
@@ -112,7 +110,7 @@ Flag no-debug
Library
hs-source-dirs: src
- if flag(no-debug)
+ if !flag(debug)
cpp-options: -DNODEBUG
if flag(portable) || os(windows)
-----------------------------------------------------------------------
hooks/post-receive
--
snap-core
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap