Robustness fixes for pipes
commitb016d39756f7d82e51c35e281673ed30b95cc586
authorHan-Wen Nienhuys <hanwen@google.com>
Wed, 23 May 2007 20:10:46 +0000 (23 17:10 -0300)
committerHan-Wen Nienhuys <hanwen@google.com>
Mon, 28 May 2007 14:15:29 +0000 (28 11:15 -0300)
tree0a9317ae10208c558db113cc83659405f2ccf2f1
parent5c1131c964f745e8d12a196b89e94d19db320656
Robustness fixes for pipes

- add read_pipe(), read_pipe_lines(), write_pipe(), which
check pipe.close()

- use throughout

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
contrib/fast-import/git-p4