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

Comments and footnotes now protect the parent text from being garbed

until the comment is keep_commented days old.  (Bug 902).
parent bb6a5eac
2003-08-11 Per Cederqvist <ceder@ceder.dyndns.org>
Comments and footnotes now protect the parent text from being
garbed until the comment is keep_commented days old. (Bug 902).
* src/include/kom-types.h (Small_conf): Added keep_commented.
* src/server/cache.h (cached_get_keep_commented): New function.
* src/server/text-garb.c (saved_by_recipient): Code cleanup.
(find_comment_limit_and_age): New static function.
(saved_by_keep_commented): New static function.
(saved): Call saved_by_keep_commented.
* src/server/simple-cache.c (mark_conference_as_changed): Copy
the keep_commented field to the small_conf.
(setup_small_conf): Ditto.
(init_small_conf): Initialize keep_commented.
(cached_get_keep_commented): New function.
* src/server/dbck-cache.c (cached_get_keep_commented): New
function.
Code cleanup.
* src/server/conference.c: Fixed a cut-n-paste comment error.
Add a valgrind suppression.
* src/server/testsuite/lyskomd.supp: Added a suppression for a
known leak in regex_compile().
......
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