My two cents:
I think which API the OS (or filesystem?) uses might have something to
do with it, too. At my last job we used InstallShield. It created some
rather deep directories and worked fine, but then I couldn't delete
these directories because the paths broke the 255 character limit.
InstallShield could create fine (good API) but Windows itself couldn't
delete them (bad API.) I think we were using Win2K and NTFS, but I can't
be sure since I don't work there any more.
To delete these things I had to rename some upper level directories to
shorter names to get the full path name down below 255 characters. Then,
of course, I made InstallShield work right. ;)
-Matt
-----Original Message-----
From: Scott Palmer [mailto:scott.palmer@2connected.org]
Sent: Wednesday, August 03, 2005 9:35 AM
To: Steve Williams
Cc: karthik@vwebsol.com; users@subversion.tigris.org
Subject: Re: Problem with Big File Name
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
**********************************************************************
E-mail sent through the Internet is not secure. Western Asset therefore recommends that you do not send any confidential or sensitive information to us via electronic mail, including social security numbers, account numbers, or personal identification numbers. Delivery, and or timely delivery of Internet mail is not guaranteed. Western Asset therefore recommends that you do not send time sensitive or action-oriented messages to us via electronic mail.
**********************************************************************
---------------------------------------------------------------------
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:43:37 2005