This is the mail archive of the
mailing list for the Cygwin project.
Re: File or path name too long
- From: Corinna Vinschen <cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 5 Mar 2002 15:46:45 +0100
- Subject: Re: File or path name too long
- References: <email@example.com>
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 Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:firstname.lastname@example.org
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html