1 Change needed to get stdbuf to successfully preload libstdbuf.so
2 for both 32-bit and 64-bit applications.
4 Since we don't link against libstdbuf.so, we need to LD_PRELOAD it.
5 libstdbuf.so lives in /usr/lib and /usr/lib/64, so we just use a
6 search path value of "" and that equates to LD_PRELOAD=libstdbuf.so,
7 and ld.so.1 finds the right one associated with the process class.
8 ie. we don't use full path names for the preload names.
10 This change has been passed upstream, but the GNU coreutils maintainer
11 turned it into a comment explaining why it's not included by default.
13 --- coreutils-9.5/src/stdbuf.c.orig
14 +++ coreutils-9.5/src/stdbuf.c
16 char const *const search_path[] = {
19 + "", /* System default */