This is the mail archive of the cygwin-apps-cvs mailing list for the cygwin-apps project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygrunsrv ChangeLog Makefile.in configure conf ...


CVSROOT:	/cvs/cygwin-apps
Module name:	cygrunsrv
Changes by:	corinna@sourceware.org	2008-02-17 16:05:46

Modified files:
	.              : ChangeLog Makefile.in configure configure.in 
	                 crit.cc crit.h cygrunsrv.README cygrunsrv.cc 
	                 cygrunsrv.h utils.cc utils.h 

Log message:
	* Makefile.in: Add automatic file dependencies.
	(datarootdir): Replace datadir.
	(CFLAGS): Define.  Always add -MMD -pipe options.
	* configure.in: Require autoconf 2.60.  Prefer g++ over c++.  Set
	CFLAGS to contain -Wall -Werror by default.  Set CXXFLAGS so that
	CFLAGS is used indirectly.
	* configure: Regenerate.
	* crit.cc (set_service_controls_accepted): Take and handle preshutdown
	parameter.
	* crit.h (SERVICE_ACCEPT_PRESHUTDOWN): Define conditionally.
	(SERVICE_CONTROL_PRESHUTDOWN): Define conditionally.
	(set_service_controls_accepted): Change declaration.
	* cygrunsrv.README: Document --shutsig and --preshutdown options.
	Note post-Vista behaviour related to --interactive option.
	* cygrunsrv.cc: Bump version to 1.20.  Throughout avoid compiler
	warnings.
	(longopts): Add '--shutsig' and '--preshutdown' options.
	(opts): Add '-O' and '-z' options.
	(shutsig): New variable.
	(shutsig_sent): New variable.
	(preshutdown): New variable.
	(install_registry_keys): Handle new shutsig and preshutdown options.
	(get_reg_entries): Ditto.
	(ControlsAccepted_desc): Add entry for SERVICE_ACCEPT_PRESHUTDOWN.
	(print_service): Handle new shutsig and preshutdown options.
	(terminate_child): Get signal to send to service process as parameter.
	Set termsig_sent or shutsig_sent according to that signal.
	(sigterm_handler): Send termsig to terminate_child.
	(service_handler_ex): New service handler which also handles
	SERVICE_CONTROL_PRESHUTDOWN.
	(service_handler_ex): Handle SERVICE_CONTROL_PRESHUTDOWN.  Call
	terminate_child with termsig or shutsig dependent on control code.
	(service_handler): Just call service_handler_ex.
	(pRegisterServiceCtrlHandlerExA): New variable.
	(service_main): Load RegisterServiceCtrlHandlerExA and use instead of
	RegisterServiceCtrlHandlerA if available.
	Check WTERMSIG for termsig or shutsig.
	(main): Handle --shutsig and --preshutdown options.  Add appropriate
	error checking.
	* cygrunsrv.h (PARAM_SHUTSIG): Define.
	(PARAM_PRESHUTDOWN): Define.
	* utils.cc (reason_list): Add --shutsig/--preshutdown error messages.
	(uprint): Redefine.
	(usage): Use fprintf for first usage line.  Add help text for
	--shutsig and --preshutdown options.  Add Vista/Longhorn hint to
	--interactive help text.
	* utils.h (reason_t): Add --shutsig/--preshutdown error values.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cygrunsrv/ChangeLog.diff?cvsroot=cygwin-apps&r1=1.54&r2=1.55
http://sourceware.org/cgi-bin/cvsweb.cgi/cygrunsrv/Makefile.in.diff?cvsroot=cygwin-apps&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cygrunsrv/configure.diff?cvsroot=cygwin-apps&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/cygrunsrv/configure.in.diff?cvsroot=cygwin-apps&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/cygrunsrv/crit.cc.diff?cvsroot=cygwin-apps&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/cygrunsrv/crit.h.diff?cvsroot=cygwin-apps&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/cygrunsrv/cygrunsrv.README.diff?cvsroot=cygwin-apps&r1=1.13&r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/cygrunsrv/cygrunsrv.cc.diff?cvsroot=cygwin-apps&r1=1.39&r2=1.40
http://sourceware.org/cgi-bin/cvsweb.cgi/cygrunsrv/cygrunsrv.h.diff?cvsroot=cygwin-apps&r1=1.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/cygrunsrv/utils.cc.diff?cvsroot=cygwin-apps&r1=1.17&r2=1.18
http://sourceware.org/cgi-bin/cvsweb.cgi/cygrunsrv/utils.h.diff?cvsroot=cygwin-apps&r1=1.13&r2=1.14


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