1 diff -Nur xc/programs/xfs.org/difs/main.c xc/programs/xfs/difs/main.c
2 --- xc/programs/xfs.org/difs/main.c Fri Apr 7 10:14:45 2000
3 +++ xc/programs/xfs/difs/main.c Fri Apr 7 10:02:01 2000
13 #include <sys/types.h>
15 static Bool create_connection_block(void);
19 extern Bool drone_server;
21 extern OldListenRec *OldListen;
28 configfilename = DEFAULT_CONFIG_FILE;
30 diff -Nur xc/programs/xfs.org/include/debug.h xc/programs/xfs/include/debug.h
31 --- xc/programs/xfs.org/include/debug.h Thu Jan 1 01:00:00 1970
32 +++ xc/programs/xfs/include/debug.h Fri Apr 7 10:02:35 2000
35 \ No newline at end of file
36 diff -Nur xc/programs/xfs.org/os/utils.c xc/programs/xfs/os/utils.c
37 --- xc/programs/xfs.org/os/utils.c Fri Apr 7 10:14:45 2000
38 +++ xc/programs/xfs/os/utils.c Fri Apr 7 10:04:38 2000
42 extern char *configfilename;
43 +extern int debug_level;
44 extern int droppriv; /* whether or not to drop root privileges */
45 extern int becomeDaemon; /* whether to become a daemon or not */
51 - fprintf(stderr, "usage: %s [-config config_file] [-port tcp_port] [-droppriv] [-daemon]\n",
52 + fprintf(stderr, "usage: %s [-config config_file] [-port tcp_port] [-droppriv] [-daemon] [-d debug_level]\n",
57 ProcessLSoption (argv[++i]);
60 + } else if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) {
61 + debug_level = atoi(argv[++i]);
62 } else if (!strcmp(argv[i], "-droppriv")) {
64 } else if (!strcmp(argv[i], "-daemon")) {