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: List-Subscribe: List-Archive: List-Post: List-Help: , 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: <20180901155435 DOT GL6350 AT calimero DOT vinschen DOT de> <1177432276 DOT 20180902005232 AT yandex DOT ru> From: cyg Simple 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> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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