gnats/gnats ChangeLog client.c getclose.c gnat ...
bmanson@sourceware.cygnus.com
bmanson@sourceware.cygnus.com
Sun Mar 19 01:32:00 GMT 2000
CVSROOT: /cvs/gnats
Module name: gnats
Changes by: bmanson@sourceware.cygnus.com 00/03/19 01:32:01
Modified files:
gnats : ChangeLog client.c getclose.c gnats.el gnats.h
pr-age.c pr-edit.c pr.h query-pr.c
Log message:
* gnats.el: Use query-pr --gnats-server-addr to get the
hostname, port, etc. of the database to connect to.
* query-pr.c: Add --print-server-addr option.
* Change callers of client_init_gnats () to check its return
status, and to handle exiting etc.
* client.c (clientConnect): Add an ErrorDesc argument to return an
error status. Don't exit on error anymore.
(scanEnv): Make public, and don't use const char ** arguments
since we're putting allocated strings into the pointers. The
values returned contain defaults; this function now completely
determines the user/password/host/port/database to use.
(client_init_gnats): Make copies of the passed-in arguments to
facilitate cleanup. Free up values obtained from scanEnv(). Add
an ErrorDesc argument, and return a non-zero value on error.
More information about the Gnats-cvs
mailing list