This is the mail archive of the
cygwin-apps-cvs
mailing list for the cygwin-apps project.
setup ChangeLog mount.cc win32.cc
- From: corinna at sourceware dot org
- To: cygwin-apps-cvs at sourceware dot org
- Date: Tue, 22 Apr 2014 11:49:58 +0000
- Subject: setup ChangeLog mount.cc win32.cc
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