[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Cache Crashing on Vista using 1.4.1.8132

From: Steve Williams <stevewilliams_at_kromestudios.com>
Date: 2006-11-28 23:01:40 CET

Stefan Küng wrote:
> I don't know how GetFileAttributesEx() could crash (/me confused).
> The only thing I can think of would be if the paths were longer than
> MAX_PATH (254 chars). But in the program files folder, I don't think
> there are such long paths.
>
> If that's not the case, then there must be something wrong way before
> that (and most likely in a completely different part of the cache code)
> which would corrupt the TSVNPath object which we pass to
> GetFileAttributesEx().
>

To see if it is a path length issue, you could try prefixing the path
with \\?\. This allows most Unicode file functions to use a path up to
32K characters instead of 260 characters. Note that \\?\ does not work
with the Shell API functions.

-- 
Sly
This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Nov 28 23:02:04 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.