[newlib-cygwin/cygwin-3_5-branch] Cygwin: reorder list of CYGWIN env var options alphabetically again

Corinna Vinschen corinna@sourceware.org
Sat Feb 3 19:19:27 GMT 2024


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=d56fb66d6f49ad6cba968150611c63f771d817c6

commit d56fb66d6f49ad6cba968150611c63f771d817c6
Author:     Corinna Vinschen <corinna@vinschen.de>
AuthorDate: Sat Feb 3 19:54:04 2024 +0100
Commit:     Corinna Vinschen <corinna@vinschen.de>
CommitDate: Sat Feb 3 20:03:43 2024 +0100

    Cygwin: reorder list of CYGWIN env var options alphabetically again
    
    This has been turned upside down for a short while.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/environ.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc
index d35b9564b622..d4cedcbdfe74 100644
--- a/winsup/cygwin/environ.cc
+++ b/winsup/cygwin/environ.cc
@@ -113,6 +113,7 @@ static struct parse_thing
       } values[2];
   } known[] NO_COPY =
 {
+  {"disable_pcon", {&disable_pcon}, setbool, NULL, {{false}, {true}}},
   {"error_start", {func: error_start_init}, isfunc, NULL, {{0}, {0}}},
   {"export", {&export_settings}, setbool, NULL, {{false}, {true}}},
   {"glob", {func: glob_init}, isfunc, NULL, {{0}, {s: "normal"}}},
@@ -120,9 +121,8 @@ static struct parse_thing
   {"proc_retry", {func: set_proc_retry}, isfunc, NULL, {{0}, {5}}},
   {"reset_com", {&reset_com}, setbool, NULL, {{false}, {true}}},
   {"wincmdln", {&wincmdln}, setbool, NULL, {{false}, {true}}},
-  {"winsymlinks", {func: set_winsymlinks}, isfunc, NULL, {{0}, {0}}},
-  {"disable_pcon", {&disable_pcon}, setbool, NULL, {{false}, {true}}},
   {"winjitdebug", {&winjitdebug}, setbool, NULL, {{false}, {true}}},
+  {"winsymlinks", {func: set_winsymlinks}, isfunc, NULL, {{0}, {0}}},
   {NULL, {0}, setdword, 0, {{0}, {0}}}
 };


More information about the Cygwin-cvs mailing list