[pkg-fso-commits] [SCM] Automatic Display Manager branch, master, updated. debian/0.1-52-g76526e2
Enrico Zini
enrico at enricozini.org
Mon Feb 23 18:02:49 UTC 2009
The following commit has been merged in the master branch:
commit 28bb839bbbff18e338dc7c01be4f6acb631d519a
Author: Enrico Zini <enrico at enricozini.org>
Date: Thu Feb 19 12:04:07 2009 +0000
Added some debugging infrastructure
diff --git a/nodm.c b/nodm.c
index 3b2702c..1935afd 100644
--- a/nodm.c
+++ b/nodm.c
@@ -100,8 +100,12 @@ static struct pam_conv conv = {
#define E_CMD_NOEXEC 126 /* can't run command/shell */
#define E_CMD_NOTFOUND 127 /* can't find command/shell to run */
+/* #define DEBUG_NODM */
+
+#ifdef DEBUG_NODM
/* Turn syslog into fprintf, for debugging */
-/* #define syslog(prio, str, ...) do { fprintf(stderr, str, __VA_ARGS__); fprintf(stderr, "\n"); } while (0) */
+#define syslog(prio, str, ...) do { fprintf(stderr, str, __VA_ARGS__); fprintf(stderr, "\n"); } while (0)
+#endif
/*
* Assorted #defines to control su's behavior
--
Automatic Display Manager
More information about the pkg-fso-commits
mailing list