Commit df38ef93 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Calculate the file name of the configuration file in a single place.

Related code cleanup.
parent 1c52526a
2003-08-15 Per Cederqvist <ceder@ceder.dyndns.org>
Distribution fix.
* mkmi: Always regenerate scripts/depcomp.
Xenofarm fix.
* src/server/testsuite/lyskomd.0/person-cov.exp: Added "DNS log
threshold: 3600" to support a certain slow Xenofarm computer.
Calculate the file name of the configuration file in a single
place. Related code cleanup.
* src/server/updateLysKOM.c (main): Use
get_default_config_file_name() to find the config file.
* src/server/splitkomdb.c (main): Ditto.
* src/server/komrunning.c (main): Ditto.
* src/server/dbck.c (main): Ditto.
* src/server/ramkomd.c (main): Ditto. Don't set read_config_file
-- nothing used the value.
* src/server/server-config.c (read_config_file): Variable removed.
(CONFIG_FILE): Now static.
(default_config): New static variable.
(get_default_config_file_name): New function.
(free_default_config_file_name): New function.
(DEFAULT_DBASE_DIR): Removed.
* src/server/param.h (read_config_file): Variable removed.
* src/include/kom-config.h (DEFAULT_DBASE_DIR): Removed.
(CONFIG_FILE): Removed.
(get_default_config_file_name): New function.
(free_default_config_file_name): New function.
Handle scheduling of different weights. The scheduling priority
must still be 0.
* doc/lyskomd.texi (Parameters): Document "Default priority", "Max
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment