delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/08/22/16:44:35

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.3.2 sourceware.org 1ECC03857C44
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=gmx.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=the DOT tick AT gmx DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
s=badeba3b8450; t=1598129026;
bh=aN0UkHlN48nsmiipgBNa6MitukvbrZn8+yilm/a9Fzo=;
h=X-UI-Sender-Class:Reply-To:To:From:Subject:Date;
b=SALeM5K9a/afm9I9Llj6EPjpoN5ePU8oCU9VimpEMbBfZ7EREdS4rVV723GMRhllH
n09kEuLSTp2voGOyvFuxm3y6n+jl8Ecas3dRcEzdmvY2PvTdqwv3CrSrkOVrNDSAUX
taP8IAVWl0RRnq4dfxlhquc5cCULX6ja8NRYj9Bo=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
To: cygwin AT cygwin DOT com
From: The Tick <the DOT tick AT gmx DOT com>
Subject: Download source for cygwin.dll?
Organization: Metropolis
Message-ID: <c86f8d76-f7ab-b102-600b-4e20fdd902b1@gmx.com>
Date: Sat, 22 Aug 2020 15:43:40 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101
Thunderbird/45.5.1
MIME-Version: 1.0
X-Provags-ID: V03:K1:Ks9x+ZfqD+aeFCO11kp/djDmhW8yfvAYK2iiGgAxfLGLXgJHG4a
4RKuuRyqAHJG9br/vT8C/Hs6jGwtlXFkzjKYjLpGGLXFPa1I7UGNcSIs2SfDwj03VeARWvL
vWTMo7QRliLca/T2Uis2jPCPMUkmi8/4jGYaMMyVY70e3qDQMm75ve9Thn+g83mHwp9INGy
LQp++n+OrNqJ8QESTFMwQ==
X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MrViGF1go4tVaD1S2JSkB
JvqwtvMIUJI9ip72tb19rQKPUwTZtxtYel2y1sDubLf/phSM1w0bxy9M6TFFbIc8fm2x18hTr
oFmFEhbype2phUmJBvIZiu9DQYiu5oXDW1IW8ksXVc4JLLes3ELK+4JpL7/2/lXYMzUaQZz7O
6EY7Tzr9oDwiit2gZueOgJGdem5cHY+HPAVW3GYTu8qho3O2cjHA/S7jeGzhmAwCdHcF7yp46
PX6ybjuaPoqE0bOLAv7r8gYWiVICnUOmIBshgYeQeQAArBkKQgH2Pc1CiG0giswEkf1q9CtVN
UzHhnNiOWtbeSS0nCD6Wuh0y42+t51j7EafWSz05JFXfShVJC81jKog5vQTL/BU8YHXEwE8XR
N07z0d77Zgwyd9+H2EJ5AN8436Mdw2eLowHwjGGIOvKj2gZo5i26zZyMzV1TdaqosIbf2QX/P
HOZLJr9H3c3AYf4Rzr+V5ccFYEmOynDpwm++8PqomXZcYVBhDK6LDc+rkU/DEHeXCEmY7IYdl
OnGApJT5Hxsmjt7qkpfhGDzNymfxz0OtiH0QIyYlchuQ80D6WnZpUg3pr43qa4M9nMNRI6a6L
ltWum4lBF7gUfWzUB3AvioMPm8/XVow8KjWH
X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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-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>
Reply-To: the DOT tick AT gmx DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

I've been trying to find out how 'ls -l' returns the target of a symlink
on windows:

$ ls -l
lrwxrwxrwx 1 user None     1 Aug 22 15:16 a -> b
lrwxrwxrwx 1 user None     5 Aug 22 15:16 b -> final
-rw-r--r-- 1 user None    29 Aug 22 15:16 final

My google searches have pointed me to the windows
GetFinalPathNameByHandle() function but that does get me the
intermediate links -- just the final path (which, of course, is what is
implied by the name of the library call).

I'm running Msys2 on win7x64. I've looked thru the coreutils for msys2
and cannot find how it is done. That lead me to cygwin coreutils and,
again, there does not seem to be anything specific there. Both rely on a
working lstat().

This leads me to believe that the guts of the lstat() for windows is
implemented in the cygwin.dll.

I'm sure this is a no-brainer for those in the know, but could someone
point me to where I could download the source for the cygwin dll so I
could examine it? Thank you.

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019