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

The same text can no longer be FAQ for the same conference twice.

(Bug 572).  Added support for aux-items that must contain a unique
piece of data.
parent 55d07c5d
2003-08-12 Per Cederqvist <ceder@ceder.dyndns.org>
The same text can no longer be FAQ for the same conference twice.
(Bug 572).
* run-support/aux-items.conf (faq-conf): Added unique-data, so
that the same text cannot be faq for a conference more than once.
* src/server/testsuite/lyskomd.0/Makefile.am (EXTRA_DIST): Added
bug-572.exp.
* src/server/testsuite/lyskomd.0/bug-572.exp: New file. Test that
the same text cannot be FAQ for the same conference more than
once.
Added support for aux-items that must contain a unique piece of
data.
* doc/lyskomd.texi (Aux-Item Definition File): Document
unique-data.
* src/server/aux-items.h (struct Aux_item_definition_s): Added
unique_data.
* src/server/aux-items.c (empty_aux_item_definition): Added
unique-data.
(simple_aux_item): Ditto.
(aux_item_add_perm): If aux_item_check_unique sets kom_errno,
don't override it.
(aux_item_check_unique): Check for unique_data violations.
* src/server/aux-item-def-parse.y (assign): Handle unique-data.
(parse_aux_item_definitions): Handle unique-data in the debug code
that prints the parsed aux-item.
"./configure && make install" no longer fails. (Bug 856).
* src/server/Makefile.am (connections.o): Add an explicit
dependency on prot-a-parse-arg.h so that "./configure&&make
......
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