stdbuf: fix to stop -i option causing an assertion
authorPádraig Brady <P@draigBrady.com>
Sat, 27 Jun 2009 00:48:49 +0000 (01:48 +0100)
committerPádraig Brady <P@draigBrady.com>
Sat, 27 Jun 2009 01:21:43 +0000 (02:21 +0100)
commit1c16c9598e67e0db641af8b85abf8c009e3a9226
tree2609c19bad26c161fb8ea9b123ceffbf03d4bd02
parent9c6c621c324148b13216cfc9bcb35e81eb151d50
stdbuf: fix to stop -i option causing an assertion

* src/stdbuf.c (main): Fix the array bounds check in the assert
* tests/misc/stdbuf: Add a test for all standard streams
src/stdbuf.c
tests/misc/stdbuf