cygrunsrv ChangeLog configure conf ...
Sun Feb 17 16:05:00 GMT 2008

CVSROOT:	/cvs/cygwin-apps
Module name:	cygrunsrv
Changes by:	2008-02-17 16:05:46

Modified files:
	.              : ChangeLog configure 
	        crit.h cygrunsrv.README 
	                 cygrunsrv.h utils.h 

Log message:
	* Add automatic file dependencies.
	(datarootdir): Replace datadir.
	(CFLAGS): Define.  Always add -MMD -pipe options.
	* 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.
	* (set_service_controls_accepted): Take and handle preshutdown
	* 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.
	* Bump version to 1.20.  Throughout avoid compiler
	(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_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.
	* (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.


More information about the Cygwin-apps-cvs mailing list