delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/09/20:07:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42586E26.10802@baldauf.org>
Date: Sun, 10 Apr 2005 02:07:02 +0200
From: =?ISO-8859-1?Q?Xu=E2n_Baldauf?= <xuan--2005 DOT 04 DOT 10--cygwin--cygwin DOT com AT baldauf DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041122
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: File name too long (91)
X-Spam-Score: -4.5 (----)

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019