mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 17:59:27 +02:00
* 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 -
This commit is contained in:
parent
36ac001d09
commit
cdcabe3ee4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user