Web lists-archives.com

Re: Cygwin's ACL handling is NOT interoperable with Windows




Greetings, Stefan Kanthak!

> Andrey Repin wrote:

>> Greetings, Stefan Kanthak!
>> 
>>> PS: <https://cygwin.com/cygwin-ug-net/using.html#pathnames-win32-api>
>>>     too states bloody lies:
>> 
>>>     | The Windows subsystem only supports CWD paths of up to 258 chars.
>              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> 
>> 260 including drive letter.

> WRONG, AGAIN!
> 260 is the value of MAX_PATH, which accounts for the trailing \0, and
> commonly used as

> | char buffer[MAX_PATH];

> I recommend to read
> <https://docs.microsoft.com/en-us/windows/desktop/fileio/naming-a-file>
> VERY careful!

>>>     The Win32 API supports pathnames with up to 32767 (Unicode) characters;
>>>     this includes of course the CWD!
>> 
>> CWD may be, but command processor does not.

> Neither Cygwin's WRONG documentation nor I referred to the command processor.

I think, this is an appropriate response to the underlying issue:
https://xkcd.com/386/


-- 
With best regards,
Andrey Repin
Sunday, August 5, 2018 18:21:42

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple