When building on MingW/VC6 and with WIN_EX, shelling
to the OS uses cmd.exe as shell. Very few people on Win32 have $SHELL defined, so use $COMSPEC otherwise.

--- orig/src/LYUtils.c Mon Oct 17 02:17:20 2005
+++ src/LYUtils.c       Mon Oct 17 18:34:31 2005
@@ -7268,6 +7268,9 @@
    if (shell) {
       if (access(shell, 0) != 0)
           shell = LYGetEnv("COMSPEC");
+    }
+    if (shell == NULL) {
+       shell = LYGetEnv("COMSPEC");
    }
    if (shell == NULL) {
       if (system_is_NT)

---------

--gv



_______________________________________________
Lynx-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to