aboutsummaryrefslogtreecommitdiff
path: root/libbb
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 /libbb
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 'libbb')
0 files changed, 0 insertions, 0 deletions