* bootstrap.conf (gnulib_modules): Add setenv, to make this
module dependency explicit; setenv is also used by split.
* src/stdbuf.c (set_LD_PRELOAD) [__APPLE__]: Use the OS X setenv
function, rather than putenv, per that documentation:
https://developer.apple.com/\
library/mac/documentation/Darwin/Reference/ManPages/man3/putenv.3.html
savedir
savewd
selinux-at
+ setenv
settime
sig2str
sigaction
ret = putenv (LD_PRELOAD);
#ifdef __APPLE__
if (ret == 0)
- ret = putenv ("DYLD_FORCE_FLAT_NAMESPACE=y");
+ ret = setenv ("DYLD_FORCE_FLAT_NAMESPACE", "y", 1);
#endif
if (ret != 0)