Commit 0ad8bb7a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Fix the parser so that negative numbers are rejected. Don't pretend

that the protocol base will ever be anything but ten.  (Bug 225).
Fix references to dbck documentation.  (Bug 386).
parent a49191b6
2002-08-10 Per Cederqvist <ceder@ceder.dyndns.org>
Fix the parser so that negative numbers are rejected. Don't
pretend that the protocol base will ever be anything but ten.
(Bug 225).
* src/libraries/libmisc/s-string.h: (s_strtol): Removed the base
argument.
* src/libraries/libmisc/s-string.c (char2digit): Removed the base
argument. Simplified the code. This should be faster now.
(s_strtol): Removed the base argument. Don't allow leading '+'
or '-' signs. This simplifies the code.
* src/server/prot-a-parse.c (prot_a_parse_long): Removed the
base argument of s_strtol.
(prot_a_parse_string): Ditto.
* src/server/aux-items.c (aux_item_trigger_mark_text): Removed the
base argument of s_strtol.
(aux_item_trigger_unmark_text): Ditto.
(aux_item_trigger_mirror_faq): Ditto.
(aux_item_validate_existing_text): Ditto.
* src/include/kom-config.h (PROTOCOL_NUMBER_BASE): Removed.
* src/server/testsuite/lyskomd.0/prot-a-parse-cov.exp: Updated,
now that the parser no longer accepts negative numbers.
* src/server/testsuite/lyskomd.0/bug-225.exp: Test bug 225.
Fix references to dbck documentation. (Bug 386).
* doc/lyskomd.texi (Parameters): Don't refer to dbck.info, since
that document is now part of lyskomd.texi.
(Administration): Ditto.
Fix error codes for query-read-texts, query-read-texts-old and
sub-member. (Bug 161, Bug 703, Bug 43 and Bug 612).
* src/server/person.c: "kom-errno.h" must now be included
......
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