X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AE5833836D3C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1670996163;
	bh=Hc4c/0pPXISNYeG0Jqhya+epzR6LMNc5Otm/4HcyWZU=;
	h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=VAK3PxfohVT8trNMOjbRpeMYh1bbGheoY7vkeIBTfmbokCVRTPg441e3oSfBqBg6q
	 aNsRt3Tk0vyGK+m2ZPyVcO2fHmNl2t9Kt15n035FuQZzrULNc/rINKt96dpbYSO37J
	 wJU5tBKH/gXrCKsXUPh3TfkYc7pcFf0NjJ/TG5e0=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D517C383758D
Message-ID: <eb997cd6-89f2-04c0-da9c-ebfb60073f42@razorcat.com>
Date: Wed, 14 Dec 2022 06:38:16 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
 Thunderbird/102.5.1
Subject: Re: Strange behavior when executing programs
To: cygwin@cygwin.com
References: <1031eafe-fc3b-ab5b-6e63-b0f56c038332@razorcat.com>
 <Y5camvZ8vSCNwXUu@calimero.vinschen.de>
 <71aa7f85-4441-1ef5-dd9f-1c5d09c151d3@razorcat.com>
 <Y5coHjIceQnpQgNN@calimero.vinschen.de>
 <Y5hLGzJL4kYVw5hs@calimero.vinschen.de>
Organization: Razorcat Development GmbH
In-Reply-To: <Y5hLGzJL4kYVw5hs@calimero.vinschen.de>
X-Df-Sender: ZnJhbmsucmVkZWtlckByYXpvcmNhdC5jb20=
X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,
 SPF_HELO_PASS, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Frank Redeker via Cygwin <cygwin@cygwin.com>
Reply-To: Frank Redeker <frank.redeker@razorcat.com>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>



Am 12/13/2022 um 10:51 AM schrieb Corinna Vinschen:
> On Dec 12 14:09, Corinna Vinschen via Cygwin wrote:
>> On Dec 12 13:46, Frank Redeker via Cygwin wrote:
>>> Am 12/12/2022 um 1:12 PM schrieb Corinna Vinschen:
>>>> On Dec 12 11:21, Frank Redeker via Cygwin wrote:
>>>>> $ pwd
>>>>> /cygdrive/s/ado
>>>>>
>>>>> $ realpath /cygdrive/s/ado/msadox.dll
>>>>> /cygdrive/s/ado/msadox.dll
>>>>>
>>>>> $ realpath msadox.dll
>>>>> /cygdrive/c/Program Files/Common Files/System/ado/msadox.dll
>>>>> [...]
>> However, a generic solution would be preferrable, and a local patch
>> to your scripts would be the better workaround for now.
> 
> Please test cygwin-3.5.0-0.30.g5ba5e09b9d39.  It contains a patch
> trying to workaround the problem.
> 
> 
> Thanks,
> Corinna
Hello Corinna,

thanks for your patch. It works as expected.

$ uname -a
CYGWIN_NT-10.0-22000 W11-DEVELOP 3.5.0-0.30.g5ba5e09b9d39.x86_64 
2022-12-12 21:37 UTC x86_64 Cygwin

$ pwd
/cygdrive/s/ado

$ realpath msadox.dll
/cygdrive/s/ado/msadox.dll

$ sample.exe msadox.dll
[msadox.dll] -> [S:\ado\msadox.dll]


Frank


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