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

Use mark_person_as_changed properly in mark_as_read. (Bug 877).

Write a test case for bug 877.  Code cleanup.
parent 25abc2ac
2003-01-10 Per Cederqvist <ceder@ceder.dyndns.org>
Use mark_person_as_changed properly in mark_as_read. (Bug 877).
* src/server/membership.c (mark_as_read): The list of read texts
is part of the person, so use mark_person_as_changed, not
mark_conference_as_changed. (Bug 877).
(mark_as_unread): FIXME comment removed.
(set_read_ranges): Ditto.
Write a test case for bug 877.
* src/server/testsuite/lyskomd.0/bug-877.exp: New file.
* src/server/testsuite/lyskomd.0/Makefile.am (EXTRA_DIST): Added
bug-877.exp.
* src/server/simple-cache.c: All these changes are only in effect
if DEBUG_CALLS is defined:
Include services.h and manipulate.h.
(block_after_pre_sync): New static variable.
(save_one_conf): Return immediately if block_after_pre_sync is
true.
(cache_sync_all): Crash if block_after_pre_sync is true.
(cache_sync_start): New request.
(cache_sync_finish): New request.
* src/server/fncdef.txt (cache_sync_start): New DEBUG_CALLS
request.
(cache_sync_finish): Ditto.
* src/include/services.h (cache_sync_start): New DEBUG_CALLS
request.
(cache_sync_finish): Ditto.
Code cleanup.
* src/server/connections.c (kill_list): Now static.
(kill_list_size): Now static.
2003-01-07 Per Cederqvist <ceder@lysator.liu.se>
Port to IRIX64, where "unsigned long" isn't large enough to avoid
......
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