1.5.18: MAX_PATH not meeting me needs - shorter than windows max path.

Yonas Jongkind yjongkind@maketechnologies.com
Mon Dec 5 18:24:00 GMT 2005


Hi,

I have some paths that are long.  I am providing an example that is 268
bytes long (sorry about the line wrapping):

 

/cygdrive/c/Documents and Settings/yjongkind/My
Documents/src/tlm/clients/SNSMR/RMV/Assets/RMV Technical
Documentation/Projects/C490735 - Personalized_Plates_MTC/New_V2.0/System
Testing/Accept Testing/Phase
IV/.svn/props/sys_testplan_customer_and_other_B.wpd.svn-work

 

This path works fine with 'native' windows commands and under Linux.
However under cygwin they appear to exceed max path.  I know it's
probably a big deal.  But I think that MAXPATH (in it's many forms)
should be extended in Cygwin.  What follows is some evidence that the
error is not exclusive to svn (subversion) but to many applications:

 

SVN

 

$ svn status
svn: Can't stat 'Assets/RMV Technical Documentation/Projects/C490735 -
Personalized_Plates_MTC/New_V2.0/System Testing/Accept Testing/Phase
IV/.svn/props/sys_testplan_customer_and_other_B.wpd.svn-work': File name
too long

 

FIND

 

$ find Assets/RMV\ Technical\ Documentation/Projects/C490735\ -\
Personalized_Plates_MTC/New_V2.0/System\ Testing/Accept\ Testing/P
hase\ IV/ -exec echo -n . \;
......find: Assets/RMV Technical Documentation/Projects/C490735 -
Personalized_Plates_MTC/New_V2.0/System Testing/Accept Testing/Pha
se IV/.svn/prop-base/Client Verification Screens.qpw.svn-base: File name
too long

.find: Assets/RMV Technical Documentation/Projects/C490735 -
Personalized_Plates_MTC/New_V2.0/System Testing/Accept Testing/Phase IV
/.svn/prop-base/sys_testplan_customer_and_other_B.wpd.svn-base: File
name too long

.find: Assets/RMV Technical Documentation/Projects/C490735 -
Personalized_Plates_MTC/New_V2.0/System Testing/Accept Testing/Phase IV
/.svn/props/Client Verification Screens.qpw.svn-work: File name too long

.find: Assets/RMV Technical Documentation/Projects/C490735 -
Personalized_Plates_MTC/New_V2.0/System Testing/Accept Testing/Phase IV
/.svn/props/sys_testplan_customer_and_other_B.wpd.svn-work: File name
too long

..find: Assets/RMV Technical Documentation/Projects/C490735 -
Personalized_Plates_MTC/New_V2.0/System Testing/Accept Testing/Phase I
V/.svn/text-base/Client Verification Screens.qpw.svn-base: File name too
long

.find: Assets/RMV Technical Documentation/Projects/C490735 -
Personalized_Plates_MTC/New_V2.0/System Testing/Accept Testing/Phase IV
/.svn/text-base/sys_testplan_customer_and_other_B.wpd.svn-base: File
name too long

.........

 

LS

 

$ ls Assets/RMV\ Technical\ Documentation/Projects/C490735\ -\
Personalized_Plates_MTC/New_V2.0/System\ Testing/Accept\ Testing/Pha

se\ IV/.svn/text-base/

ls: Assets/RMV Technical Documentation/Projects/C490735 -
Personalized_Plates_MTC/New_V2.0/System Testing/Accept Testing/Phase
IV/.s
vn/text-base/Client Verification Screens.qpw.svn-base: File name too
long
ls: Assets/RMV Technical Documentation/Projects/C490735 -
Personalized_Plates_MTC/New_V2.0/System Testing/Accept Testing/Phase
IV/.s
vn/text-base/sys_testplan_customer_and_other_B.wpd.svn-base: File name
too long
External Agencies.qpw.svn-base*

 

All this was executed from:


$ pwd

/cygdrive/c/Documents and Settings/yjongkind/My
Documents/src/tlm/clients/SNSMR/RMV

 


I hope that this make my issue clear.  I am aware of 2 work-arounds
(move the files closer to c:\ and, what I am presently doing, which is
using the version of svn compiled for windows.

Y.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 27288 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20051205/05d4f22e/attachment.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list