]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: stdbuf.c: avoid the OS X putenv function
authorJim Meyering <meyering@fb.com>
Sun, 28 Jun 2015 17:35:04 +0000 (10:35 -0700)
committerJim Meyering <meyering@fb.com>
Mon, 29 Jun 2015 21:18:59 +0000 (14:18 -0700)
commitf303fb6bbb6a924ab47a5c0d855ef27cb234347f
tree2ea07ddf6e397d5dd7f4d1192eb8d45199aee74f
parent46416bb7c365e4faf44152dd66094c726dc714c8
maint: stdbuf.c: avoid the OS X putenv function

* 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
bootstrap.conf
src/stdbuf.c