This is the mail archive of the gnats-cvs@sourceware.cygnus.com mailing list for the GNATS project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gnats/gnats ChangeLog client.c getclose.c gnat ...


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]