stdbuf: fix helper lib identification on some platforms
commit197cd0994d93ea650efb86a4290e09a0fc63384f
authorPádraig Brady <P@draigBrady.com>
Thu, 1 Sep 2011 14:23:17 +0000 (1 15:23 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 1 Sep 2011 14:27:58 +0000 (1 15:27 +0100)
tree922cb0c862c176bd04854349c7a4427fa4cc171f
parent0d89a42bff15d80574190537cc47f2f0aba24830
stdbuf: fix helper lib identification on some platforms

* src/stdbuf.c (main): Pass the path of `stdbuf` rather than
the command it's running to the search function.  This is
significant on platforms without /proc/self/exe
Reported by Bruno Haible
src/stdbuf.c