diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-10-01 10:31:58 +0000 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-10-01 10:31:58 +0000 |
commit | ef42f2cbc8eb16df1a8e45650c652d227fd35ef4 (patch) | |
tree | 35b69e41a882c19f11b61ecfe2f7d0d4ff718faf /bindings/java | |
parent | 7290225b00d65a7ea111ddf3216bf7d9f39a81b6 (diff) | |
download | lasso-ef42f2cbc8eb16df1a8e45650c652d227fd35ef4.tar.gz lasso-ef42f2cbc8eb16df1a8e45650c652d227fd35ef4.tar.xz lasso-ef42f2cbc8eb16df1a8e45650c652d227fd35ef4.zip |
add functionality to enable debugging flags at runtime
This code permit to set flags, separated by commas, space,
tabulations, or colons. This flags activates debug functions like,
suppressing validations of signatures or print debugging message about
deallocations.
The new flags are defined in /lasso/debug.h they can be set using an
environment variable named LASSO_FLAG or a function named
lasso_set_flag.
There are two flags currently:
- verify-signature:
To deactivate it, pass 'no-verify-signature' inside LASSO_DEBUG.
It desactivate signature verification, inside two functions:
lasso_query_verify_signature and lasso_provider_verify_signature.
- memory-debug:
It enabled reporting of memory deallocation inside generic memory
dellaocator for LassoNode objects and also in bindings.
- lasso/xml/xml.c: do not free a null hash table pointer.
Diffstat (limited to 'bindings/java')
-rw-r--r-- | bindings/java/Makefile.am | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bindings/java/Makefile.am b/bindings/java/Makefile.am index 620d20d5..f6ad245c 100644 --- a/bindings/java/Makefile.am +++ b/bindings/java/Makefile.am @@ -41,9 +41,7 @@ com_entrouvert_lasso_LassoJNI.h: com/entrouvert/lasso/LassoJNI.class $(java_las $(JAVAH) $(JAVAH_FLAGS) -classpath . `echo $< | sed 'su/u.ug;su.classuu'` libjnilasso_la_CFLAGS = -fno-strict-aliasing $(LASSO_CORE_CFLAGS) -I$(top_srcdir) -I$(top_builddir) $(AM_CFLAGS) @JAVA_INCLUDE@ -if DEBUGGING libjnilasso_la_CFLAGS += -Wno-unused-parameter -endif libjnilasso_la_LDFLAGS = -export-dynamic -prefer-pic -module -avoid-version libjnilasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) |