Strange behavior when executing programs

Frank Redeker frank.redeker@razorcat.com
Wed Dec 14 05:38:16 GMT 2022



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



More information about the Cygwin mailing list