BundleReader, Containers, and file IO
Aaron Bentley
aaron.bentley at utoronto.ca
Sat Oct 27 20:39:17 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aaron Bentley wrote:
> I think what happens with pipes is that when you over-read, you get a
> short read. Then the next time you read, you get an IO error.
Further testing shows that read pipes behave just like files; they do
not raise an IO error when you reach the end. So I think over-reading a
pipe is no problem.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHI5Pl0F+nu1YWqI0RAuTSAJ9oV3dI6Sn+1+KwRwzy+CEdERCowwCeJc6Y
n9JDf1jHMlQyAvXDO1K0pyQ=
=3/a7
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list