delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/09/01/23:36:30

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=wnvkQDRfbuphmVKn
ncfGTdfJef0Zw1eW577TcfcN8IpzxoAAaqGl4h2pGQB+NBjf+t3RMtuiUy3zOI1m
o5n9hzuNJ9MswBg3r4mijyV458yFXfGauGxCcvQUirrjmE79+RX0VQ+1nvnQNb2C
iCTv4ATH9J0iF9i/noD48TSDRFg=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=EBZnFVchU0k30uDEdcm8Fi
T6nsM=; b=dcVLYjL6x1SN9XznZFXWf3epB7JoEAph/GLb4do8f7hFCBXz2RS6fG
YTZ7ikzioS9DSxKZGn+cMk8HYwPb+Unc0DS8qfe4mpETi0+H5jVK9lGc868DiBSJ
6cUCT0tC7BDJuukZHFQBBxpGmBkuDAr8LVvzvAgfxgFAsd+Yg8ShI=
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=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=Greetings, cygwins, backslash, supplying
X-HELO: mail-io0-f172.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=WObguvMMkxdxTLMMcoGuUyEA6LAPu7nhyYPNRUwfa8w=; b=qjAl8UHsSlOdO1EcRSSy1EH8qeFXh+MhYt80JnfONuqI83pjN0gWWZm15zQ59LfET/ DA8v68mDas6f5aadwhIErbxqkSHgjgA9FVg7dbGRpWzqZKYRFtZFtr21bQBXWCJtLbnB Q+RHTv7xA9ic+8pdm/caEIz2ksEShRDFhzgAcw6NySFgMzgnjqUa766iZ0NI2d2MclIG XMrRyFhjtQOaJjnKrENn9B9kbEhOwxZvUooan0DA3Y7fjWvx5IKGTHD1C+wOHE8tpEQQ 4V1IJt2RjpNf15JD9DdRttteHwYyjenbtiGYireEUlnCEOKX+4UfSQZsn7qjqxNmZh7M x1CA==
Subject: Re: Bug Report: Regression in Cygwin 2.11.0-1
To: cygwin AT cygwin DOT com
References: <BL2PR16MB096125DC7F302700C5DE88C0C80E0 AT BL2PR16MB0961 DOT namprd16 DOT prod DOT outlook DOT com> <pmdgjr$9q9$1 AT blaine DOT gmane DOT org> <20180901155435 DOT GL6350 AT calimero DOT vinschen DOT de> <E51C5B015DBD1348A1D85763337FB6D901ADFF2257 AT Remus DOT metastack DOT local> <1177432276 DOT 20180902005232 AT yandex DOT ru>
From: cyg Simple <cygsimple AT gmail DOT com>
Openpgp: preference=signencrypt
Message-ID: <921ff66e-cc22-5df2-db16-5f9cc1193185@gmail.com>
Date: Sat, 1 Sep 2018 23:36:12 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <1177432276.20180902005232@yandex.ru>
X-IsSubscribed: yes

On 9/1/2018 5:52 PM, Andrey Repin wrote:
> Greetings, David Allsopp!
> 
>>> In terms of this OCAML build system problem:
>>>
>>> Please fix your build system.  Do not mix POSIX and Win32 paths, use POSIX
>>> paths only.  Backslashes are *no* drop-in replacement for slashes.
> 
>> The "problem" for us is more subtle than this. The program which is
>> generating that path is not a Cygwin executable, so it is correctly
>> combining a path it has been supplied (the ../stdlib which has been supplied
>> via Cygwin's make) with a filename, so it uses a backslash. It's been on my
>> TODO for years to enhance to understand that the program it's supplying the
>> path back to is a Cygwin executable and so sort it out properly but, well,
>> we're a small number of maintainers! That said, WSL is forcing us to address it properly...
> 
> You CAN just send back forward slashes. Windows don't care.
> If any program would choke, it would be that program's problem after all.

Certainly not "that program's problem". The problem becomes mine and
yours as we've not followed the design of the program.  While Windows at
the moment doesn't care there is always the possibility that some fix
could break that since the documentation states to use \ in paths and
not /.  So while we "CAN just send back forward slashes" we need to be
prepared for the outcome if something changes in an update to the OS and
breaks the assumptions based on observed behavior rather than the
documented behavior.

-- 
cyg Simple

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