This is the mail archive of the
cygwin-apps-cvs
mailing list for the cygwin-apps project.
setup ChangeLog LogFile.cc LogFile.h main.cc
- From: corinna at sourceware dot org
- To: cygwin-apps-cvs at sourceware dot org
- Date: Tue, 03 Feb 2015 19:51:49 +0000
- Subject: setup ChangeLog LogFile.cc LogFile.h main.cc
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