(debug): New.

(main): Set it on -d.
(oops, CANT_HAPPEN): New.
This commit is contained in:
Markus Armbruster 2004-04-02 15:40:43 +00:00
parent f1edf905e9
commit 47c8a32ae3
4 changed files with 29 additions and 1 deletions

View file

@ -80,13 +80,19 @@ static void loc_NTTerm(void);
static int mainpid = 0;
#endif
/*
* Debugging?
* If yes, don't fork into background, don't catch certain signals,
* call abort() on internal error.
*/
int debug = 0;
int
main(int argc, char **argv)
{
time_t now;
int hour[2];
int flags = 0;
int debug = 0;
int op;
char *config_file = NULL;
extern char *optarg;