This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

File name too long (91)


Hello,

I'm hitting "File name too long (91)" errors when using "rsync" or even "ls" within cygwin. I tracked down this problem to the constant "CYG_MAX_PATH", which seems to be defined in "cygtls.h". Would it be a problem to rise this limit?

So, is there any objection to a patch like this?

--- winsup/cygwin/cygtls.h.orig 2005-03-31 17:46:24.000000000 +0200
+++ winsup/cygwin/cygtls.h      2005-04-10 02:01:42.000000000 +0200
@@ -23,7 +23,7 @@
#define CYGTLS_EXCEPTION (0x43227 + true)

#ifndef CYG_MAX_PATH
-# define CYG_MAX_PATH 260
+# define CYG_MAX_PATH 520
#endif

#ifndef UNLEN


I have directory trees which certainly exceed the old limit...


ciao,
Xuân.


-- 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]