[setup - the official Cygwin setup program] branch master, updated. release_2.917

Jon TURNEY jturney@sourceware.org
Mon Jan 24 19:23:04 GMT 2022




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=b41697a3adf8a0eb066be6206d7d38ee6272dfc1

commit b41697a3adf8a0eb066be6206d7d38ee6272dfc1
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Mon Jan 24 19:19:46 2022 +0000

    Only show deprecation warning once if we're going to elevate


Diff:
---
 main.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.cc b/main.cc
index a48ee423..9d1f419d 100644
--- a/main.cc
+++ b/main.cc
@@ -339,7 +339,7 @@ WinMain (HINSTANCE h,
       }
 
     /* Warn if Windows version is deprecated for Cygwin */
-    if (!DeprecatedOption)
+    if (!DeprecatedOption && !elevate)
       {
         if
 #ifdef _X86_



More information about the Cygwin-apps-cvs mailing list