delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/08/05/10:34:24

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:from:to:cc:references:subject:date
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=NUt6YR43t1S4A1eVUGSQDqJFVGXqKv5Alu5sWnxCjEPAF5cEqgxhO
4A5Nq8FvPnrMtao4Y6j0z33h46a/kTRWicQHCnlJ/MsT8ULFuv2RonJcgdvQayeu
0jqw+baPCDrWjzu5wZtCtY9Gy+A64vzRC7Pf3Iy4mUGC/tOZIhfYNI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:from:to:cc:references:subject:date
:mime-version:content-type:content-transfer-encoding; s=default;
bh=Y5yJD6V5kL39MHk4nCyXyNuk4AE=; b=fULl7zieK4SjQPMqhfC8fE47wBx/
ZbWaxPRzVC1T4LtA2Lf10/GpWnTqJ2T2jdrE7C1uuDuy9IyeUFV0MGx+/pr0d9Uf
MYoO0AcyQw0h/eWovHvFUB6/LWKLFW5/noQP3QcCOEzJDzLeqdP/G0+8MPb876TF
JbdX0O+sHI5x6Ww=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*UA:6.00.2900.5931, H*x:6.00.2900.5931, again!, Hx-languages-length:844
X-HELO: vsmx011.vodafonemail.xion.oxcs.net
Message-ID: <3AA6B0E5761945E58833642A6DB75341@W340>
From: "Stefan Kanthak" <stefan DOT kanthak AT nexgo DOT de>
To: <cygwin AT cygwin DOT com>
Cc: <anrdaemon AT yandex DOT ru>
References: <2B3187EFB48B477183C355EDF9660136 AT W340> <1444436439 DOT 20180805170441 AT yandex DOT ru>
Subject: Re: Cygwin's ACL handling is NOT interoperable with Windows
Date: Sun, 5 Aug 2018 16:23:17 +0200
MIME-Version: 1.0

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.

regards
Stefan

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019