]> git.ipfire.org Git - thirdparty/coreutils.git/commit
stdbuf: simplify apply_mode + getenv
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 24 May 2025 19:55:13 +0000 (12:55 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 24 May 2025 20:02:31 +0000 (13:02 -0700)
commit610725919c567f65fe148e95ed272f04df2ffb1e
tree896fbf4541d13f522e5de761e97f9abd7797325f
parent69b189358551f37f643d8c0d6d52dd504d222048
stdbuf: simplify apply_mode + getenv

* src/libstdbuf.c (apply_mode): Take getenv arg, not result.
All callers changed.  This is simpler.
src/libstdbuf.c