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 static Bool create_connection_block(void);
17 extern Bool drone_server;
19 extern OldListenRec *OldListen;
27 configfilename = DEFAULT_CONFIG_FILE;
28 diff -Nur xc/programs/xfs.org/include/debug.h xc/programs/xfs/include/debug.h
29 --- xc/programs/xfs.org/include/debug.h Thu Jan 1 01:00:00 1970
30 +++ xc/programs/xfs/include/debug.h Fri Apr 7 10:02:35 2000
33 \ No newline at end of file
34 diff -Nur xc/programs/xfs.org/os/utils.c xc/programs/xfs/os/utils.c
35 --- xc/programs/xfs.org/os/utils.c Fri Apr 7 10:14:45 2000
36 +++ xc/programs/xfs/os/utils.c Fri Apr 7 10:04:38 2000
40 extern char *configfilename;
41 +extern int debug_level;
42 static Bool dropPriv = FALSE; /* whether or not to drop root privileges */
44 static Bool becomeDaemon = TRUE; /* whether to become a daemon or not */
49 - fprintf(stderr, "usage: %s [-config config_file] [-port tcp_port] [-droppriv] [-daemon] [-nodaemon] [-user user_name]\n",
50 + fprintf(stderr, "usage: %s [-config config_file] [-port tcp_port] [-droppriv] [-daemon] [-nodaemon] [-user user_name] [-d debug_level]\n",
55 ProcessLSoption (argv[++i]);
58 + } else if (!strcmp(argv[i], "-d") || !strcmp(argv[i], "--debug")) {
59 + debug_level = atoi(argv[++i]);
60 } else if (!strcmp(argv[i], "-droppriv")) {
62 } else if (!strcmp(argv[i], "-daemon")) {