This is the mail archive of the
cygwin
mailing list for the Cygwin project.
File name too long (91)
- From: Xuân Baldauf <xuan--2005 dot 04 dot 10--cygwin--cygwin dot com at baldauf dot org>
- To: cygwin at cygwin dot com
- Date: Sun, 10 Apr 2005 02:07:02 +0200
- Subject: 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/