delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/05/13:38:02

X-Spam-Check-By: sourceware.org
Message-ID: <439488FA.A0DDE1AD@dessent.net>
Date: Mon, 05 Dec 2005 10:37:46 -0800
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.18: MAX_PATH not meeting me needs - shorter than windows max path.
References: <CABE1247CC6AC1448C9248032FDD929F5E7912 AT dev DOT make-interactive DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
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

Yonas Jongkind wrote:

> I have some paths that are long.  I am providing an example that is 268
> bytes long (sorry about the line wrapping):

This is not a Cygwin-imposed limitation, it is one that is mandated by
Windows, which defines MAX_PATH to 260 for the ANSI versions of all the
file APIs.

The only way to get around this is to use the Unicode version of the
APIs, and I expect that eventually this will be done.  But it's a very
large and invasive change and would require significant effort.

Brian

--
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