[exim-cvs] Report TRUSTED_CONFIG_LIST & WHITELIST_D_MACROS.

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Exim Git Commits Mailing List
Data:  
Para: exim-cvs
Asunto: [exim-cvs] Report TRUSTED_CONFIG_LIST & WHITELIST_D_MACROS.
Gitweb: http://git.exim.org/exim.git/commitdiff/b70d25860f3e7dfe54ad69a5695a9bff7d380f08
Commit:     b70d25860f3e7dfe54ad69a5695a9bff7d380f08
Parent:     c0886197be901683f62380f720a006bb67ec26bd
Author:     Phil Pennock <pdp@???>
AuthorDate: Sun Jan 23 03:26:09 2011 -0500
Committer:  Phil Pennock <pdp@???>
CommitDate: Sun Jan 23 03:28:07 2011 -0500


    Report TRUSTED_CONFIG_LIST & WHITELIST_D_MACROS.


    When invoked { exim -d -bV } show these build-time options that affect
    what can be done.
---
 src/src/exim.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)


diff --git a/src/src/exim.c b/src/src/exim.c
index c8a5da1..f1c3199 100644
--- a/src/src/exim.c
+++ b/src/src/exim.c
@@ -942,6 +942,17 @@ DEBUG(D_any) do {
       lookup_list[i]->version_report(f);
     }


+#ifdef WHITELIST_D_MACROS
+ fprintf(f, "WHITELIST_D_MACROS: \"%s\"\n", WHITELIST_D_MACROS);
+#else
+ fprintf(f, "WHITELIST_D_MACROS unset\n");
+#endif
+#ifdef TRUSTED_CONFIG_LIST
+ fprintf(f, "TRUSTED_CONFIG_LIST: \"%s\"\n", TRUSTED_CONFIG_LIST);
+#else
+ fprintf(f, "TRUSTED_CONFIG_LIST unset\n");
+#endif
+
} while (0);
}