From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) by sourceware.org (Postfix) with ESMTPS id 52D5D384F4A7 for ; Mon, 12 Dec 2022 15:41:02 +0000 (GMT) Authentication-Results: sourceware.org; dmarc=permerror header.from=cygwin.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=cygwin.com Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MeC5x-1oTlsZ3SD9-00bGSJ for ; Mon, 12 Dec 2022 16:41:00 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 632B7A80A38; Mon, 12 Dec 2022 16:41:00 +0100 (CET) Date: Mon, 12 Dec 2022 16:41:00 +0100 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [EXTERNAL] Re: Strange behavior when executing programs Message-ID: Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <1031eafe-fc3b-ab5b-6e63-b0f56c038332@razorcat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:buygTC9KMnspf+sTLJhFjAOfOLfMoHffbKOB8vrdMtHuDnXJ6vN bNrGehmUOZ7ARt5R3b2OewihOLjhgmxclkyLmZ7W0Ae1L7B89QacpF25eIB6HTVij9zHm/6 GnYUVv81JZSRam96mIVgKtg/ye7nQIRK3tkpk3Un+Y9TCdCE0N6vf+SU0Dc3Tj6WJ9UP3I/ U1IoqEzXz+VVnGNXlA7Lw== UI-OutboundReport: notjunk:1;M01:P0:/qDUa0QJ7SI=;TinekClmNGOlKmFD0OYTVuiql+f cffd0tyPV8LFavpEjfKkPF6p5UcPsiul41U3Cyz9iaQFJZFIqRPn2NVBRieW6v50owbj99FxA II064vzlxD5faTKK5XvRwQ1B0YybZLfpEOh6g3KvXAnbLsTbqY2TcXY3Fq2qYuBT9umWLZ8Va KlsX5q99SSYwS3reG1jW8AAR3a68zmLshIjXDSuMXBTfmsmKK8jWbPNWeisKJpi6yPiyLSYC9 xPHNaV3JEea1sFxITBCgK3UeacosVt+B/JX/rM5sp/gyucFD3HtSVjLE8ouo/XK8L3KHYRi1+ gglpoeZ9x+HJhe7gO3+zDNHuT7Ue7m7Xrg1AC4si942Wca+8yAoKwXbFCglf4JKnS4jXpKXtU Kz4fsucLfq7PTk8+wfi2ydWyABSywTUvwckLnUN7YJ7D2mE++B7/sYbhInKqSw2taJU6nSRb7 n8Ls4TAkEgir6BQC+TlMi7WbxYiGhfRJa1NZDWB3SDLmVKpYYnCX96/pdxLJGJNXo/jyxwe1i NLh7FbpFQLVJYUEtoQNle0Fvu69fCNmW0sbaFEmyvSOu2qJp9W6UMoJQGD1FjZqJV0bfYJAqq LZsdwIuBNhWQzndY6EnWnVsvoCBo9Ky+4otSgHVoZ9Avu7z53zhJ6MWkLrWr4RWp44v0B8ZOb omt+E2rvhs6ZLF1eauL8pnQIfVAn1Ycbji9RdYm/mg== X-Spam-Status: No, score=-95.5 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Dec 12 15:22, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > Sorry about the earlier typos > > > (and, hence, I suppose for the purposes of the OP). > > and, hence, I suppose, *would work* for the purposes of the OP. > > > Since realpath is supposed to resolve all symlinks, > > I meant by default (the -P behavior). If -s was asked, then the output would be corect. Options are only available in realpath(1). As for under the hood, realpath(3) has no options so it can only return one of the alternatives. Corinna