diff options
author | Ron Yorston <rmy@pobox.com> | 2018-02-13 11:54:43 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-02-13 11:54:43 +0000 |
commit | 834805db9fe525dff26267fb7ba2794cee3ed51a (patch) | |
tree | 3354ca2d465dce743685d0a4b41936d91a2b4d37 /Config.in | |
parent | 5bf7067e61f202f023d70f38d14bb66799a27074 (diff) | |
download | busybox-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.in | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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 | ||
137 | config 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 | |||
147 | config PAM | 137 | config PAM |
148 | bool "Support PAM (Pluggable Authentication Modules)" | 138 | bool "Support PAM (Pluggable Authentication Modules)" |
149 | default n | 139 | default n |