From cdcabe3ee49d6977ceda8e10ff5c5925cb880e60 Mon Sep 17 00:00:00 2001 From: pierre Date: Tue, 5 Jul 2011 06:54:24 +0000 Subject: [PATCH] * Prevent propagation of ' !proxy' environment variable to programs launched by Dos.exec by renaming it to '_!proxy' after handling in startup code git-svn-id: trunk@17936 - --- rtl/go32v2/system.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rtl/go32v2/system.pp b/rtl/go32v2/system.pp index 6dbcd85b1b..a336805622 100644 --- a/rtl/go32v2/system.pp +++ b/rtl/go32v2/system.pp @@ -404,7 +404,11 @@ begin strcopy(argv[3], @proxy_s[14]); allocarg(4,4); strcopy(argv[4], @proxy_s[19]); - + { We need to change this variable env name + otherwise it will be used by other DJGPP variables + if we call them. PM 2011-07-04 + Hide it as '_!proxy' instead of ' !proxy' } + hp^[0]:='_'; useproxy:=true; break; end;