From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2030 invoked by alias); 22 Apr 2014 11:49:59 -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 2012 invoked by uid 9078); 22 Apr 2014 11:49:58 -0000 Message-ID: <20140422114958.2009.qmail@sourceware.org> From: corinna@sourceware.org Date: Tue, 22 Apr 2014 11:49:00 -0000 To: cygwin-apps-cvs@sourceware.org Subject: setup ChangeLog mount.cc win32.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: 2014-q2/txt/msg00003.txt.bz2 CVSROOT: /cvs/cygwin-apps Module name: setup Changes by: corinna@sourceware.org 2014-04-22 11:49:58 Modified files: . : ChangeLog mount.cc win32.cc Log message: * mount.cc (is_admin): Drop function. It's incorrectly implemented and redundant. (create_install_root): If installing the setup rootdir entry to HKLM results in ERROR_ACCESS_DENIED, fall back to installing into HKCU. Don't exit with a fatal error if writing the registry key fails. Just pop up an informative message box instead. Also log access denied. (read_mounts): call nt_sec.isRunAsAdmin instead of removed is_admin. (NTSecurity::isRunAsAdmin): Fix formatting. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/setup/ChangeLog.diff?cvsroot=cygwin-apps&r1=2.845&r2=2.846 http://sourceware.org/cgi-bin/cvsweb.cgi/setup/mount.cc.diff?cvsroot=cygwin-apps&r1=2.41&r2=2.42 http://sourceware.org/cgi-bin/cvsweb.cgi/setup/win32.cc.diff?cvsroot=cygwin-apps&r1=2.16&r2=2.17