diff options
author | jbj <jbj> | 2002-07-29 23:06:07 +0000 |
---|---|---|
committer | jbj <jbj> | 2002-07-29 23:06:07 +0000 |
commit | a969908ac4570e4e213d38b9307a1c16a3fb2d47 (patch) | |
tree | 8335a6fa6111cb1fc29b731311e070384596e2de | |
parent | 31db7baac9db85edbe27bac0cb9544b91842dd40 (diff) | |
download | libpopt-a969908ac4570e4e213d38b9307a1c16a3fb2d47.tar.gz |
- update trpm.
- factor all mode-specific options into mode-specific tables.
- treat an unspecified epoch as Epoch: 0 everywhere.
-rw-r--r-- | popt.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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++) |