This is the mail archive of the cygwin@cygwin.com 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]

Re: File or path name too long


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@cygwin.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/


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