delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/05/09:50:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 5 Mar 2002 15:46:45 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: File or path name too long
Message-ID: <20020305154645.Y13590@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <a62k7v$oj1$1 AT quimby2 DOT netfonds DOT no>
Mime-Version: 1.0
In-Reply-To: <a62k7v$oj1$1@quimby2.netfonds.no>
User-Agent: Mutt/1.3.22.1i

On Tue, Mar 05, 2002 at 06:13:52AM -0800, Mark Wood-Patrick wrote:
> I am getting the error message "File or path name too long" due to the
> insanely long names my companies build system generates. Is the maximum
> length of a path hardcoded in cygwin. Is there any way to configure cygwin
> to support longer filenames?

It's a restriction given by the ANSI function calls in Windows,
resp. a restriction of 9x/Me.  These functions don't take paths
longer than MAX_PATH as parameter.

On NT/2K/XP we *could* use the Unicode functions which allow paths
up to 32000 characters but that requires massively changes to the
Cygwin path handling code.

That will not happen soon as long as we don't have somebody
volunteering for creating the required patches.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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