Commit c50b85bf authored by Per Cederqvist's avatar Per Cederqvist

Fixed bugs in get_map and local_to_global. Fixed bugs and made

improvements to the test cases for get_map and local_to_global.  Read
the file name of the "Aux-item definition file" from the config file,
not from the command line.  Default to sending async_new_text_old and
ay_leave_conf, bug not async_new_text, just as the documentation says.
Get rid of some compiler warnings.
parent 71230e04
1998-08-08 Per Cederqvist <ceder@lysator.liu.se>
Fixed bugs in get_map and local_to_global.
* src/server/text.c (get_map): Fixed a couple of fence errors.
(local_to_global): Using first_local_no==0 is an error. Fixed a
fence error.
* src/server/prot-a-output.c (prot_a_output_text_mapping): Emit
"0" or "1", not "48" or "49", as the later-texts-exists flag.
Fixed bugs and made improvements to the test cases for get_map and
local_to_global.
* src/server/testsuite/lyskomd.0/00.exp: Many bugs fixed.
* src/server/testsuite/config/unix.exp (attach): New constant.
(line_leader): New variable.
(meta_line_leader): New variable.
(l2g_start): Set l2g_id, expect_active and expect_always.
(fix_expect_after): New proc.
(simple_expect): New argument: meta. Handle line leaders.
Removed tests for unexpected lines, which should now be handled
via expect_active.
(unanchored_expect): Added missing quotes.
(lyskomd_start): Handle attach. Set expect_active and
expect_always to something sane.
(client_start): Use tcpconnect.py and line leaders to make it
easier to debug the test cases. Set expect_active and
expect_always to something sane.
(talk_to): Handle l2g. Handle line leaders. Call
fix_expect_after.
* src/server/testsuite/tcpconnect.py: New file.
* src/server/testsuite/Makefile.am (../lyskomd): New target.
(lyskomd_check): Depend on ../lyskomd.
(site.exp): Added srcdir.
(EXTRA_DIST): Added tcpconnect.py.
* src/server/Makefile.am (all-recursive check-recursive): Depend
on lyskomd.
Read the file name of the "Aux-item definition file" from the
config file, not from the command line.
* src/server/testsuite/config/Makefile.am (lyskomd-config): Added
"Aux-item definition file".
* src/server/server-config.c (parameters): Added "Aux-item
definition file".
(AUX_DEF_FILE): Removed.
* src/server/ramkomd.c (initialize): Removed the aux_def_file
argument. All callers updated. Get the file of the aux_def_file
from the config file.
(main): Removed the -c and -a options. This reverts the change
from Sat Sep 13 15:07:32 1997. It is more consistent to get the
file name of the aux-def file from the config file. The -c option
was buggy anyhow.
* src/server/param.h (struct kom_par): Added aux_def_file.
* doc/man/lyskomd.8: Removed the -c and -c flags. Added "Aux-item
definition file".
* src/include/config.h (AUX_DEF_FILE): Constant removed.
Default to sending async_new_text_old and ay_leave_conf, bug not
async_new_text, just as the documentation says.
* src/server/send-async.c (async_new_text_old): Use
prot_a_async_new_text_old, not prot_a_async_new_text.
* src/server/async.h (ASYNC_DEFAULT_MESSAGES): Added
ay_new_text_old instead of ay_new_text. Added ay_leave_conf.
Get rid of some compiler warnings.
* src/server/rfc931.c (get_real_username): Mark unused arguments.
* src/server/dbck-cache.c (cached_lock_person): Marked unused
arguments.
(cached_unlock_person): Likewise.
(cached_lock_conf): Likewise.
(cached_unlock_conf): Likewise.
1998-08-07 Per Cederqvist <ceder@signum.se>
Merged old uncommitted changes to prot-A.txt.
......
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