From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18350 invoked by alias); 3 Feb 2015 19:51:50 -0000 Mailing-List: contact cygwin-apps-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-apps-cvs-owner@sourceware.org Received: (qmail 18323 invoked by uid 9078); 3 Feb 2015 19:51:49 -0000 Message-ID: <20150203195149.18320.qmail@sourceware.org> From: corinna@sourceware.org Date: Tue, 03 Feb 2015 19:51:00 -0000 To: cygwin-apps-cvs@sourceware.org Subject: setup ChangeLog LogFile.cc LogFile.h main.cc User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2015-q1/txt/msg00009.txt.bz2 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