[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lynx-dev] COMSPEC patch
From: |
Gisle Vanem |
Subject: |
[Lynx-dev] COMSPEC patch |
Date: |
Mon, 17 Oct 2005 18:49:23 +0200 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Lynx-dev] COMSPEC patch,
Gisle Vanem <=