setup ChangeLog LogFile.cc LogFile.h main.cc

corinna@sourceware.org corinna@sourceware.org
Tue Feb 3 19:51:00 GMT 2015


CVSROOT:	/cvs/cygwin-apps
Module name:	setup
Changes by:	corinna@sourceware.org	2015-02-03 19:51:49

Modified files:
	.              : ChangeLog LogFile.cc LogFile.h main.cc 

Log message:
	* LogFile.cc (LogFile::exit): Deconstify exit_code.  Handle
	exit_code -1 special (instead of IDS_ELEVATED).  Add comments to
	explain.
	* LogFile.h (LogFile::exit): Deconstify exit_code in prototype.
	* main.cc (WinMain): Restructure code.  Revert to always initializing
	log output.  Don't generate log files if setup is going to elevate
	itself, or if only help output is requested.  Set exit_code to -1 in
	call to LogFile::exit in the cases we don't want a log (elevate/help).

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/ChangeLog.diff?cvsroot=cygwin-apps&r1=2.863&r2=2.864
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/LogFile.cc.diff?cvsroot=cygwin-apps&r1=2.22&r2=2.23
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/LogFile.h.diff?cvsroot=cygwin-apps&r1=2.7&r2=2.8
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/main.cc.diff?cvsroot=cygwin-apps&r1=2.78&r2=2.79



More information about the Cygwin-apps-cvs mailing list