On Mon, 6 Dec 2021 19:55:27 +0900 Takashi Yano wrote: > First, I think the same. However, with this patch, it sometimes causes > hang for a few seconds around the code: [...] > with path_copy of "//VBoxSrv". I am not sure why. > > In addition, > https://cygwin.com/pipermail/cygwin/2021-December/250103.html > still needs fix.
Moreover, this has a problem with "ls -al /cygdrive/z". The information for ".." is not retrieved correctly. drwxr-xr-x 1 yano None 0 Dec 6 13:54 . d????????? ? ? ? ? ? .. -rw-r--r-- 1 yano None 29 Dec 4 07:45 Makefile -rw-r--r-- 1 yano None 17 Dec 6 13:18 a drwxr-xr-x 1 yano None 0 Dec 6 08:59 aaa lrwxrwxrwx 1 yano None 1 Dec 6 13:54 b -> a -rwxr-xr-x 1 yano None 3278626 Dec 7 09:07 cygwin0.dll -rwxr-xr-x 1 yano None 3549860 Dec 6 08:51 cygwin0.dll.64 -rw-r--r-- 1 yano None 0 Dec 3 22:16 testfile.txt I think '/cygdrive/z/..' should be '/cygdrive', however, in current cygwin, it is interpreted into '//VBoxSrv'. Is this as you intended? With my patch which stops to treat UNC path as symlink, '/cygdrive/z/..' returns '/cygdrive'. -- Takashi Yano <takashi.y...@nifty.ne.jp> -- 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