This is the mail archive of the
gnats-cvs@sourceware.cygnus.com
mailing list for the GNATS project.
gnats/gnats ChangeLog adm.c adm.h btime.c buil ...
- To: gnats-cvs at sourceware dot cygnus dot com
- Subject: gnats/gnats ChangeLog adm.c adm.h btime.c buil ...
- From: bmanson at sourceware dot cygnus dot com
- Date: 20 May 2000 03:50:21 -0000
CVSROOT: /cvs/gnats
Module name: gnats
Changes by: bmanson@sourceware.cygnus.com 00/05/19 20:50:20
Modified files:
gnats : ChangeLog adm.c adm.h btime.c builtin-fields.h
client.c cmds.c database.c database.h edit.c
fconfig.y field.c field.h file-pr.c
gen-closed-date.c gen-index.c getclose.c
globals.h gnats.h gnatsd.c gnatsd.h index.c
index.h internal.c lists.c mail.c mail.h misc.c
pr-age.c pr-edit.c pr-init.c pr.c pr.h
query-pr.c query.c query.h queue-pr.c regex.c
Log message:
The current database is no longer a set of implicit global
variables, but instead is passed in to the various functions that
need it. initGnats () returns the requested database as a
DatabaseInfo handle.
* cmds.c (gnatsdChdb): New function.
* gnatsd.c: Clean up authentication code a bit; all user
authentication is now verified when a CHDB is done. Changing to
the initial database is now done via gnatsdChdb (). The
authentication is probably now broken, however.
Lots of other minor cleanups as well, but adding DatabaseInfo everywhere
is the bulk of it.