Commit 1ccfce76 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Text garbing can be turned of.

Removed some global variables.
Basic savecore functionality.
parent 518e58a7
Sat Oct 7 15:29:05 1995 Per Cederqvist (ceder@lysator.liu.se)
* text-garb.c (garb_text): Don't remove any text if
param.garb_enable is false.
* server-config.c: (parameters): New config: "Garb".
* param.h (kom_par): New field: garb_enable.
Tue Sep 5 20:56:23 1995 Per Cederqvist (ceder@lysator.liu.se)
* lyskomd.h (restart_kom): Tell gcc 2.7 (or newer) that
restart_kom never returns.
* conf-file.c (configure_line): Allow empty values.
(assign_text_no, assign_conf_no, assign_int): Sanity check the
argument.
* updateLysKOM.c (savecore): New function.
(main): Call it before starting a new lyskomd.
* ramkomd.c (go_daemon): Don't go into daemon mode if in debug
mode.
(initialize): Fixed a printf statement.
(main): chdir to param.core_dir before the action starts.
* param.h (kom_par): New field: core_dir.
* server-config.c (parameters): New config: "Core directory".
* dbck-cache.c: Include "param.h".
* server-config.c (add_prefix, param_name, check_abs_path): New
static functions.
(read_configuration): Check that all path names are complete
paths.
* Remove global file name variables, and use fields in param
instead:
* simple-cache.c, dbck-cache.c (datafilename): Removed. All users
modified to use param.datafile_name instead.
(backupfilename): Removed. All users modified to use
param.backupfile_name instead.
(textfilename): Removed. All users modified to use
param.textfile_name instead.
* dbck.c, ramkomd.c: (datafilename): Removed. All users modified
to use param.datafile_name instead.
(backupfilename): Removed. All users modified to use
param.backupfile_name instead.
(textfilename): Removed. All users modified to use
param.textfile_name instead.
* dbck.c (textbackupfilename): Removed. All users modified to use
param.textfile_name instead.
(TEXTBACKUPFILE_NAME): Removed.
* ramkomd.c (statisticfile, pidfile, memusefile): Removed. All
callers modified to use param.statistic_name, param.pid_name and
param.memuse_name instead.
* connections.c (dump_statistics): Use param.statistic_name
instead of statisticfile.
* text.c (find_recipient): New name for former is_recipient. New
API. All callers updated.
(add_recipient): Allow a recpt to be changed to a cc_recpt, and
vice versa.
Fri Jan 20 23:56:14 1995 Per Cederqvist (ceder@lysator.liu.se)
* text.c (ok_to_create_next_text): Added a missing newline in a
log message.
Sun Jan 1 14:08:34 1995 Per Cederqvist (ceder@lysator.liu.se)
* Makefile.src (KOMLIBS): New variable, holding all of the
......
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