BundleReader, Containers, and file IO
John Arbash Meinel
john at arbash-meinel.com
Sun Oct 28 06:05:30 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aaron Bentley wrote:
> 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
Unless you want to be able to stream multiple packs over the pipe.
But generally, I would agree with you.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHJCaqJdeBCYSNAAMRAq7rAJ9lwBN1Xm0y5TajnmvzKTKiv8K6HwCgnc7A
il8UzYZkGE2JsABDS2N9KUY=
=iHtr
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list