delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.1 sourceware.org C98963858C27 |
Authentication-Results: | sourceware.org; |
dmarc=fail (p=none dis=none) header.from=nifty.ne.jp | |
Authentication-Results: | sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp |
DKIM-Filter: | OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 22C2ac0v010426 |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; |
s=dec2015msa; t=1647052598; | |
bh=d/xZQToW6PXSEKglcJnUMjGEHsvvxxqPjcI5YF4EgVI=; | |
h=Date:From:To:Subject:In-Reply-To:References:From; | |
b=DzNRBfdMubKhEoS7MSe0yEhIWU+FktJfflChGtznSmZeTF2o3n1HhNmjqw+capXZu | |
e0+hJVsiK2gPbwBrFy2c7uyP2VWIqobc8NklSBcDPjWti8vUQuUk3GzPUcE+mk6w+E | |
pEWjBjUMZ3vP8vxotZTqrS0/05KeHA2i/arXvXVOcMYdnkqNsCz/6ef1ttX71SOZRk | |
DtcsQjCCiyR0WzbeOdTK65WB5rEHzFedCB/WASnV6CN92njlA/nHmQhhAdfr0wp60J | |
HhAQ2SCpZG3OF+RlVqsxJnvcW9wx1V7IoXQnKONdrHVhwm6y8NynNMLaJIBc4A0QIN | |
30mWyaYr4rx4Q== | |
X-Nifty-SrcIP: | [119.150.36.16] |
Date: | Sat, 12 Mar 2022 11:36:48 +0900 |
From: | Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Too many level of symbolic links (still have problem with sbmfs |
network drives) | |
Message-Id: | <20220312113648.9a2c2d9da7bb678978e71c9e@nifty.ne.jp> |
In-Reply-To: | <20220311180930.e0ca6a9bf1b9f0f5c7f9fb5e@nifty.ne.jp> |
References: | <21ce8733-b5b9-4f04-516a-c674b3cf1162 AT polymtl DOT ca> |
<20220305112326 DOT 8d07e89f03eb382f58023055 AT nifty DOT ne DOT jp> | |
<20220308001455 DOT 9da9b8e10b76e9350c22520a AT nifty DOT ne DOT jp> | |
<03fc13d6-55c0-3fd3-87c0-857d026a1d1a AT polymtl DOT ca> | |
<20220309085213 DOT 6e6a2cf2bf842eb51e9dd0d5 AT nifty DOT ne DOT jp> | |
<4bf8ea5a-4afb-e3ee-e177-5dc3053340a4 AT polymtl DOT ca> | |
<20220309095840 DOT 2a1d82b207922c9a4c8badab AT nifty DOT ne DOT jp> | |
<20220311180930 DOT e0ca6a9bf1b9f0f5c7f9fb5e AT nifty DOT ne DOT jp> | |
X-Mailer: | Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) |
Mime-Version: | 1.0 |
X-Spam-Status: | No, score=-4.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, |
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, | |
SPF_HELO_NONE, SPF_PASS, TXREP, | |
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 | |
X-Spam-Checker-Version: | SpamAssassin 3.4.4 (2020-01-24) on |
server2.sourceware.org | |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.29 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
Errors-To: | cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
This is a multi-part message in MIME format. --Multipart=_Sat__12_Mar_2022_11_36_48_+0900_Q5g_ylhyPcnX2+iF Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 11 Mar 2022 18:09:30 +0900 Takashi Yano wrote: > On Wed, 9 Mar 2022 09:58:40 +0900 > Takashi Yano wrote: > > On Tue, 8 Mar 2022 19:16:29 -0500 > > Philippe Debanne wrote: > > > Yes OK, you can send me the DLL, I will test it in the next couple of days. > > > > Thanks for your cooperation. I have just sent you cygwin1.dll > > for the test. Please test it and let me know the resulted > > debug messages. > > I received the debug messages and understood what is happening. > I added a workaround for this issue, so could you please test > the cygwin1.dll with the workaround patch, and let me know the > test result? > > I will send you the patched cygwin1.dll shortly. The problem was that GetDosDeviceW() returns unexpected string such as "\Device\Mup\DfsClient\;Z:000000000003fb89\dfsserver\dfs\linkname" for the mounted UNC path: "\??\UNC\fileserver\share" . This happens when UNC path for DFS is mounted to a drive with drive letter. Therefore, I would like to propose a workaround patch attached. I will appreciate any comments for the patch. -- Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp> --Multipart=_Sat__12_Mar_2022_11_36_48_+0900_Q5g_ylhyPcnX2+iF Content-Type: application/octet-stream; name="0001-Cygwin-path-Add-fallback-for-DFS-mounted-drive.patch" Content-Disposition: attachment; filename="0001-Cygwin-path-Add-fallback-for-DFS-mounted-drive.patch" Content-Transfer-Encoding: base64 RnJvbSA3NjlhNGFmNTAxODFjYjc1NjkxMzBlYTQwN2U0ZjY5ODBkMDBmZjE0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBUYWthc2hpIFlhbm8gPHRha2FzaGkueWFub0BuaWZ0eS5uZS5q cD4KRGF0ZTogRnJpLCAxMSBNYXIgMjAyMiAxNzoyNjozMCArMDkwMApTdWJqZWN0OiBbUEFUQ0hd IEN5Z3dpbjogcGF0aDogQWRkIGZh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0gcmVtb3RlIC0gMTsKKwkJCXJlbWxlbiAtPSBwIC0gcmVtb3RlOwogCQkgICAgICBlbHNlCi0J CQlnb3RvIGZpbGVfbm90X3N5bWxpbms7IC8qIGZhbGxiYWNrICovCisJCQlnb3RvIGZpbGVfbm90 X3N5bWxpbms7IC8qIGZhbGxiYWNrIChub3QgZXhwZWN0ZWQpICovCisJCSAgICAgIGlmICh3Y3Nu Y2FzZWNtcCAoZnBhdGguQnVmZmVyICsgdW5jcF9sZW4sIHAsIHJlbWxlbikpCisJCQlnb3RvIGZp bGVfbm90X3N5bWxpbms7IC8qIGZhbGxiYWNrIChub3QgZXhwZWN0ZWQpICovCiAJCSAgICAgIC8q IEhhY2tmZXN0ICovCiAJCSAgICAgIGZwYXRoLkJ1ZmZlcls0XSA9IGRyaXZlWzBdOyAvKiBEcml2 ZSBsZXR0ZXIgKi8KIAkJICAgICAgZnBhdGguQnVmZmVyWzVdID0gTCc6JzsKLQkJICAgICAgV0NI QVIgKnRvID0gZnBhdGguQnVmZmVyICsgNjsKLQkJICAgICAgV0NIQVIgKmZyb20gPSB0byArIHJl bWxlbjsKKwkJICAgICAgV0NIQVIgKnRvID0gZnBhdGguQnVmZmVyICsgNjsgLyogTmV4dCB0byBM JzonICovCisJCSAgICAgIFdDSEFSICpmcm9tID0gZnBhdGguQnVmZmVyICsgdW5jcF9sZW4gKyBy ZW1sZW47CiAJCSAgICAgIG1lbW1vdmUgKHRvLCBmcm9tLAogCQkJICAgICAgICh3Y3NsZW4gKGZy b20pICsgMSkgKiBzaXplb2YgKFdDSEFSKSk7CiAJCSAgICAgIGZwYXRoLkxlbmd0aCAtPSAoZnJv bSAtIHRvKSAqIHNpemVvZiAoV0NIQVIpOwotLSAKMi4zNS4xCgo= --Multipart=_Sat__12_Mar_2022_11_36_48_+0900_Q5g_ylhyPcnX2+iF Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- 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 --Multipart=_Sat__12_Mar_2022_11_36_48_+0900_Q5g_ylhyPcnX2+iF--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |