From a969908ac4570e4e213d38b9307a1c16a3fb2d47 Mon Sep 17 00:00:00 2001 From: jbj Date: Mon, 29 Jul 2002 23:06:07 +0000 Subject: - update trpm. - factor all mode-specific options into mode-specific tables. - treat an unspecified epoch as Epoch: 0 everywhere. --- popt.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/popt.c b/popt.c index d71e2bf..812861e 100644 --- a/popt.c +++ b/popt.c @@ -18,6 +18,11 @@ #include "findme.h" #include "poptint.h" +#ifdef MYDEBUG +/*@unchecked@*/ +int _popt_debug = 0; +#endif + #ifndef HAVE_STRERROR static char * strerror(int errno) { extern int sys_nerr; @@ -427,7 +432,8 @@ static int execCommand(poptContext con) if (argv[0] == NULL) return POPT_ERROR_NOARG; -#ifdef MYDEBUG +#ifdef MYDEBUG +if (_popt_debug) { const char ** avp; fprintf(stderr, "==> execvp(%s) argv[%d]:", argv[0], argc); for (avp = argv; *avp; avp++) -- cgit v1.2.1