aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2018-02-13 11:54:43 +0000
committerRon Yorston <rmy@pobox.com>2018-02-13 11:54:43 +0000
commit834805db9fe525dff26267fb7ba2794cee3ed51a (patch)
tree3354ca2d465dce743685d0a4b41936d91a2b4d37 /Config.in
parent5bf7067e61f202f023d70f38d14bb66799a27074 (diff)
downloadbusybox-w32-834805db9fe525dff26267fb7ba2794cee3ed51a.tar.gz
busybox-w32-834805db9fe525dff26267fb7ba2794cee3ed51a.tar.bz2
busybox-w32-834805db9fe525dff26267fb7ba2794cee3ed51a.zip
win32: always use safe API calls to manipulate environment
It turns out that with the new toolchain safe API calls work on all all platforms. Even the original code from commit fa147bd7e works on Windows XP when built with the new tools. - Remove the unsafe environment manipulation via the environ array - Microsoft's putenv takes a copy of its argument so the string can be freed - Rewrite some routines and add more error checking
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in10
1 files changed, 0 insertions, 10 deletions
diff --git a/Config.in b/Config.in
index ba7ba1026..dc3a6e09a 100644
--- a/Config.in
+++ b/Config.in
@@ -134,16 +134,6 @@ config GLOBBING
134 the BusyBox binary to handle wildcard expansion using the C runtime 134 the BusyBox binary to handle wildcard expansion using the C runtime
135 set this to 'Y'. 135 set this to 'Y'.
136 136
137config SAFE_ENV
138 bool "Manipulate the environment through safe API calls"
139 default n
140 depends on PLATFORM_MINGW32
141 help
142 Enable this option to use safe API calls when clearing environment
143 variables. This is necessary if BusyBox is to run on ReactOS or
144 64-bit Windows. The default is 'N', which must be used if BusyBox
145 is to run on Windows XP.
146
147config PAM 137config PAM
148 bool "Support PAM (Pluggable Authentication Modules)" 138 bool "Support PAM (Pluggable Authentication Modules)"
149 default n 139 default n