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

Re: Problem with Big File Name

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2005-08-03 18:34:32 CEST

On 2-Aug-05, at 7:43 PM, Steve Williams wrote:
>
> ".svn\tmp\text-base\" (19)
> + 85 character path (85)
> + 143 character filename (143)
> + ".svn-base" (9)
> + NUL (1)
> = 257
>
> This is one more character than Windows can handle for a path and
> filename. Path and filename together (with terminating NUL) is
> limited to a maximum of 256 characters (defined by MAX_PATH).

That's not entirely true. A path can be MUCH larger than 256
characters. But it depends on which APIs you use and what format the
path is expressed in.

Individual names in the path can be up to 255 characters long. The
entire path can be about 32k characters long.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/
fileio/fs/naming_a_file.asp

My guess is that the APR library is using the more limited APIs.

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 3 18:36:22 2005

This is an archived mail posted to the Subversion Users mailing list.

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