Commit 42c329ea authored by Per Cederqvist's avatar Per Cederqvist

Use libisc-0.99 (which is not yet committed). Added files that

automake requires.  Added new makefile templates for automake.  Code
cleanup for increased portability.  Improved some variable types and
fixed problems with signed chars.  Many minor tweaks to remove
annoying but harmless warnings from gcc.  Remove some old unused
files.
parent 56e190b0
1998-07-08 Per Cederqvist <ceder@lysator.liu.se>
Use libisc-0.99.
* src/server/isc-interface.h: Include "isc.h" instead of
"isc-new.h".
(ISC_PRINTF_SUPPORT): Define it.
Added files that automake requires.
* AUTHORS: New file.
* README-serverrelease: Renamed to README.
* README: New name for former README-serverrelease.
* acinclude.m4: New file. Contents taken from the old
aclocal.m4, but changed to match the contents of libisc.
Added new makefile templates for automake.
* Makefile.am: New file.
* db-crypt/Makefile.am: New file.
* doc/Makefile.am: New file.
* doc/man/Makefile.am: New file.
* scripts/Makefile.am: New file.
* src/Makefile.am: New file.
* src/include/Makefile.am: New file.
* src/include/server/Makefile.am: New file.
* src/libraries/Makefile.am: New file.
* src/libraries/libansi/Makefile.am: New file.
* src/libraries/libcommon/Makefile.am: New file.
* src/libraries/libmisc/Makefile.am: New file.
* src/server/Makefile.am: New file.
Code cleanup for increased portability.
* src/libraries/libmisc/pom.c: Use HAVE_VALUES_H instead of
__svr4__ and __sparc__ to protect inclusion of <values.h>.
(rcsid): Added a missing const.
Improved some variable types and fixed problems with signed
chars.
* src/server/simple-cache.c (rcsid): Added a missing const.
(next_free_num): Changed type from int to Conf_no.
(next_text_num): Changed type from int to Text_no.
(read_person): Flag unused parameters.
(read_conference): Likewise.
(read_text_stat): Likewise.
(cached_get_text_stat): Adjusted printf format according to
the next_text_num change.
(init_cache): Likewise.
(free_match_table): Renamed a parameter name to avoid
warnings from gcc.
(build_matching_info): Renamed a local variable name to avoid
warnings from gcc.
(pre_sync): Use tno_iter and cno_iter instead of i to get all
types correct.
(post_sync): Likewise.
(copy_file): Flag unused parameters.
* src/server/ram-parse.c (rcsid): Added a missing const.
(fparse_info_0): Now static.
(fparse_info_2): Likewise.
(fparse_conference_2): Likewise.
(fparse_conference_0): Likewise.
(fparse_person_0): Likewise.
(fparse_person_2): Likewise.
(fparse_text_stat_2): Likewise.
(fparse_text_stat_0): Likewise.
(fparse_conf_list): Changed type of local variable "i" from int to
unsigned long.
(fparse_text_list): Likewise.
* src/server/ram-output.c (foutput_text_list): Changed
type of local variable "i" from int to unsigned long.
(foutput_time): Renamed a parameter name to avoid
warnings from gcc.
(rcsid): Added a missing const.
* src/server/prot-a-output.c (prot_a_output_conf_list): Changed
type of local variable "i" from int to unsigned long.
(prot_a_output_text_list): Likewise.
(prot_a_output_time): Renamed local variable
names to avoid warnings from gcc.
(rcsid): Added a missing const.
* src/server/local-to-global.c (Local_text_no_iter): New
experimental typedef.
(l2g_append): Renamed i to ix and changed type to
Local_text_no_iter.
* src/server/dbck-cache.c: Include dbck-cache.h.
(rcsid): Added a missing const.
(next_text_num): Changed type from int to Text_no.
(TEXT_RANGE): Adjusted printf format for next_text_num change.
(VOID_TEXT_RANGE): Likewise.
(cache_sync): Changed type of local variable i from int to
unsigned long. Removed extern declaration of oformat.
Adjusted printf formats for next_text_num change.
(init_cache): Removed extern declaration of oformat.
Adjusted printf formats for next_text_num change.
* src/server/conference.c (do_create_conf): Now static.
(do_lookup): Changed type of local variables i and retsize to
avoid warnings. Handle overflow a little better and log warning
messages if overflow ever occurs.
(rcsid): Added a missing const.
* src/libraries/libmisc/s-string.c (s_strcmp): Changed type of
loop variable from "unsigned int" to "String_size".
(s_usr_strcmp): Likewise.
(char2digit): Added const qualifier to translate_table. Use an
int as argument to isalpha and tolower to avoid problems with
signed chars.
(rcsid): Added a missing const.
* src/server/conf-file.c (assign_text_no): Don't use isdigit
unless isascii is true. Use an int as argument to isalpha and
isdigit to avoid problems with signed chars.
(assign_conf_no): Likewise.
(assign_int): Likewise.
(rcsid): Added a missing const.
Many minor tweaks to remove annoying but harmless warnings from
gcc.
* src/server/updateLysKOM.c (checkstatus): Now static.
* src/server/text.c: Include internal-services.h.
(rcsid): Added a missing const.
(set_loc_no): Renamed a parameter name to avoid
warnings from gcc.
(find_recipient): Now static. Removed declaration of errno.
* src/server/session.c (get_time): Renamed a parameter name to avoid
warnings from gcc.
(rcsid): Added a missing const.
* src/server/server-config.c (log_param): Flag unused argument.
(param_name): Now static.
(rcsid): Added a missing const.
* src/server/rfc931.c: Include rfc931.h.
(get_real_username): Added a const qualifier to the return value.
* src/server/rfc931.h (get_real_username): Added a const qualifier
to the return value.
* src/server/ramkomd.c (rcsid): Added a missing const.
(init_data_base): Removed unused argument dir_base. All callers
updated.
(sighandler_hup): Flag unused argument.
(sighandler_quit): Likewise.
(sighandler_usr1): Likewise.
(sighandler_usr2): Likewise.
(go_daemon): Make it a function prototype.
(initialize): New static.
* src/server/mux.c: (rcsid): Added a missing const.
(UCB_printf): Specify the return type in the extern declaration.
* src/server/membership.c (do_add_member): Renamed local variable
names to avoid warnings from gcc.
(do_sub_member): Likewise.
(locate_member): Likewise.
(check_membership): Likewise.
(set_membership_type): Likewise.
(rcsid): Added a missing const.
* src/server/log.c (rcsid): Added a missing const.
(logv): Renamed local variable names to avoid warnings
from gcc.
(log): Likewise.
* src/server/internal-services.h (do_create_conf): Declaration
removed. This function is static.
* src/server/dbck.c (register_jubel): Flag unused arguments.
(locate_member): Renamed local variable names to avoid warnings
from gcc.
(check_misc_infos): Likewise.
(check_created_texts): Likewise.
(check_membership): Likewise.
(check_texts_in_conf): Likewise.
(confirm): Added const qualifier to argument question.
(check_member): Likewise.
(init_data_base): Removed the unused dbase_dir argument. All
callers updated.
* src/server/dbck-cache.h (oformat): Declaration added.
* src/server/connections.c (login_request): Added a missing const
to the realuser local variable.
(rcsid): Added a missing const.
* src/server/conf-file.h (struct parameter): Added const qualifier
to the name and default_val tags.
* src/server/aux-items.c: Include services.h.
(aux_item_definition_cache_regexp): Now static.
(initialize_aux_items): Removed declaration of
parse_aux_item_definitions.
(aux_item_call_add_triggers): Now static.
(aux_item_call_delete_triggers): Now static.
(aux_item_call_undelete_triggers): Now static.
* src/server/aux-items.h (Aux_item_definition_s): Added const
qualifier to the name tag.
(Aux_item_trigger_mapping): Likewise.
(parse_aux_item_definitions): Declaration added.
* src/server/aux-item-def.y:
(aux_item_def_typename): Added const qualifier to the return value.
(aux_item_def_check_assign): Added const qualifier to the id argument.
(aux_item_def_check_trigger): Added const qualifier to the
check_name argument.
* src/server/admin.c (shutdown_kom): Flag unused arguments.
(rcsid): Added a missing const.
* src/include/services.h: Renamed a few parameter names to avoid
warnings from gcc.
* src/server/prot-a-output.h: Likewise.
* src/server/ram-output.h: Likewise.
* src/libraries/libcommon/parser.h: Likewise.
* src/server/manipulate.h: Likewise.
* src/libraries/libcommon/kom-errno.c (rcsid): Added a missing const.
* src/libraries/libcommon/misc-parser.c: Likewise.
* src/libraries/libcommon/parser.c: Likewise.
* src/libraries/libmisc/s-collat-tabs.c: Likewise.
* src/libraries/libmisc/zmalloc.c: Likewise.
* src/server/cache-node.c: Likewise.
* src/server/disk-end-of-atomic.c: Likewise.
* src/server/internal-connections.c: Likewise.
* src/server/isc-malloc.c: Likewise.
* src/server/isc-parse.c: Likewise.
* src/server/memory.c: Likewise.
* src/server/mux-parse.c: Likewise.
* src/server/person.c: Likewise.
* src/server/prot-a-parse.c: Likewise.
* src/server/prot-a-send-async.c: Likewise.
* src/server/prot-a.c: Likewise.
* src/server/ram-smalloc.c: Likewise.
* src/server/regex-match.c: Likewise.
* src/server/send-async.c: Likewise.
* src/server/string-malloc.c: Likewise.
* src/server/text-garb.c: Likewise.
* src/libraries/libansi/empty.c: Likewise.
Remove some old unused files.
* src/libraries/libmisc/zmalloc.c: Unused file removed.
* src/libraries/libmisc/zmalloc.h: Unused file removed.
* src/server/kom-types.c: Empty file removed.
* scripts/Summarize-Headers: File removed.
* scripts/List-Files: File removed.
* src/libraries/libclient/.cvsignore: File removed.
* src/libraries/libclient/Makefile.in: File removed.
* src/libraries/libclient/async.c: File removed.
* src/libraries/libclient/async.h: File removed.
* src/libraries/libclient/client-Makefile.in: File removed.
* src/libraries/libclient/client-malloc.h: File removed.
* src/libraries/libclient/client.c: File removed.
* src/libraries/libclient/client.h: File removed.
* src/libraries/libclient/input.c: File removed.
* src/libraries/libclient/input.h: File removed.
* src/libraries/libclient/kom-types.c: File removed.
* src/libraries/libclient/output.c: File removed.
* src/libraries/libclient/output.h: File removed.
* src/libraries/libclient/parse.c: File removed.
* src/libraries/libclient/parse.h: File removed.
* src/libraries/libclient/send.c: File removed.
* src/libraries/libclient/send.h: File removed.
* src/libraries/libclient/services.c: File removed.
* src/libraries/libclient/services.h: File removed.
1998-07-07 Per Cederqvist <ceder@gratia>
Fixed spelling of the config file parameter "Max broadcast length".
......
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