aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os/utils.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-09-05 23:24:38 +0200
committermarha <marha@users.sourceforge.net>2012-09-05 23:24:38 +0200
commit5f8e1a7bd57e5a413d7f86c2d00b00882c3a1bc6 (patch)
treef77f00896185a1b2c7d50c89946194ef7fc52b87 /xorg-server/os/utils.c
parent509108fd97974db8d1f149c7e21ca77cbcf91040 (diff)
downloadvcxsrv-5f8e1a7bd57e5a413d7f86c2d00b00882c3a1bc6.tar.gz
vcxsrv-5f8e1a7bd57e5a413d7f86c2d00b00882c3a1bc6.tar.bz2
vcxsrv-5f8e1a7bd57e5a413d7f86c2d00b00882c3a1bc6.zip
Instead of giving a fatal error just remove the env variables that are too
long
Diffstat (limited to 'xorg-server/os/utils.c')
-rw-r--r--xorg-server/os/utils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xorg-server/os/utils.c b/xorg-server/os/utils.c
index 43842c067..29ee9ab24 100644
--- a/xorg-server/os/utils.c
+++ b/xorg-server/os/utils.c
@@ -1700,7 +1700,6 @@ System(const char *cmdline)
*/
/* Consider LD* variables insecure? */
-#ifndef _MSC_VER
#ifndef REMOVE_ENV_LD
#define REMOVE_ENV_LD 1
#endif
@@ -1709,7 +1708,6 @@ System(const char *cmdline)
#ifndef REMOVE_LONG_ENV
#define REMOVE_LONG_ENV 1
#endif
-#endif
/*
* Disallow stdout or stderr as pipes? It's possible to block the X server