1.5.18: MAX_PATH not meeting me needs - shorter than windows max path.

Brian Dessent brian@dessent.net
Mon Dec 5 18:37:00 GMT 2005


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/



More information about the Cygwin mailing list