[win32] Permission denied in fancy_rename

John Arbash Meinel john at arbash-meinel.com
Thu May 4 01:27:55 BST 2006


Robert Collins wrote:
> On Wed, 2006-05-03 at 19:17 -0500, John Arbash Meinel wrote:
>> Robert Collins wrote:

...

>>>
>> Well, you can just make it part of the api that you must run the
>> generator to completion, and then the file will close itself.
> 
> Dunno about you, but pulling multi mb files over wet spaghetti because
> our interface doesn't allow closing when we have what we wanted would
> really suck.
> 
> Rob
> 

If you know what you want, shouldn't you have used readv?

Most of our files are such that you really want the end of the file, not
the beginning. What files would you be opening with a full get_bytes(),
that you only want a little bit at the beginning?

Besides, we are still supporting the get() interface, if you want to be
able to close early. It is just for when we are copying all of the file
between two locations like with:
  t1.put('foo', t2.get('foo'))

That we want to switch to get_bytes/put_bytes.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060503/1bff45eb/attachment.pgp 


More information about the bazaar mailing list