Commit ed11a39d authored by Per Cederqvist's avatar Per Cederqvist

Renam do_sync_db to do_statistics. Use sig_atomic_t instead of Bool

for variables set from signal handlers.  Remove the empty function
cache_sync.  Rename cache_sync in dbck to cache_sync_all.
Distribution cleanup.  Documentation fixes.  Make all man pages
obsolete.
parent 265f07ad
1999-04-03 Per Cederqvist <ceder@lysator.liu.se>
Make lyskomd.8 and dbck.8 obsolete. Generate the version number
in lyskomd.texi automatically. Make sure that lyskomd.texi and
dbck.texi includes everyting that was documented in lyskomd.8 and
dbck.8.
Renam do_sync_db to do_statistics. Use sig_atomic_t instead of
Bool for variables set from signal handlers.
* src/server/sigflags.h: New file, containing sig_atomic_t flags.
* src/server/ramkomd.c: Include "sigflags.h".
(sighandler_hup): Use 1 instead of TRUE as
value of go_and_die.
(sighandler_usr1): Use 1 instead of TRUE as value of
do_statistics. Use do_statistics instead of do_sync_db.
* src/server/connections.h (go_and_die): Declaration moved to
sigflags.h.
(do_sync_db): Renamed to do_statistics and moved to sigflags.h.
* src/server/connections.c (go_and_die): Now sig_atomic_t instead
of Bool.
(do_statistics): New name for former do_sync_db. New type:
sig_atomic_t instead of Bool. All users of do_sync_db updated.
(toploop): Don't call cache_sync when do_statistics is set.
* src/server/admin.c (shutdown_kom): Set go_and_die to 1, not TRUE.
Cosmetic code cleanup.
* src/server/prot-a-parse-arg-c.awk: Insert a blank line between
the system includes and the local includes.
Remove the empty function cache_sync. Rename cache_sync in dbck
to cache_sync_all.
* src/server/simple-cache.c (cache_sync): Removed.
* src/server/logII.c (log): Call cache_sync_all instead
of cache_sync.
* src/server/dbck.c (garb_text_file): Call cache_sync_all instead
of cache_sync.
(main): Likewise.
* src/server/dbck-cache.c (cache_sync_all): New name for former
cache_sync.
* src/server/cache.h (cache_sync): Function removed.
Distribution cleanup.
* src/server/Makefile.am (EXTRA_DIST): Don't distribute logII.c.
* configure.in: Create src/libraries/regex/doc/Makefile and
src/libraries/regex/test/Makefile.
Documentation fixes.
* doc/lyskomdb.texi (Version 0): next-free-num and next-text-num
are one greater than the number of existing records.
(Version 1): The same error probably exists here. Added comment
about it.
* doc/lyskomd.texi (Server Configuration File): Markup fixes.
(Parameter Types): Markup fixes.
(Parameters): Markup fixes.
(Aux-Item Definition File): Markup fixes.
(Administration): Update the discussion about updateLysKOM, dbck
and komrunning. Markup fixes.
Make all man pages obsolete. Generate the version number in
lyskomd.texi automatically. Make sure that lyskomd.texi and
dbck.texi includes everyting that was documented in the man pages.
* mkmi: Remove scripts/mdate-sh, which should be generated by
automake.
* doc/man/dbck.8: All documentation removed. Refer to
dbck.info.
* doc/man/lyskom.5: Documentation removed. Refer to lyskomdb.info.
* doc/man/updateLysKOM.8: All documentation removed. Refer to
lyskomd.info.
* doc/dbck.texi (Invoking dbck): Mention that dbck with no
argument will examine the database without modifying it.
(General Options): Document -h (aka --help).
......
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