pipe(2) on MIPS does some funny, non-standard stuff with it's return data. This patch implments this unusual handling. Without this patch, bash closes it's own stdin by mistake and therefore exits immediately after presenting the prompt. The LTP test results for the pipe() tests are improved with this patch as well. Stuart Stuart R. Anderson anderson@netsweng.com Network & Software Engineering http://www.netsweng.com/ 1024D/37A79149: 0791 D3B8 9A4C 2CDC A31F BD03 0A62 E534 37A7 9149