delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/29/12:48:56

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; q=dns; s=default; b=a4WM
tBhdxeniZAM+WfWFCX2FKZ8KDhiKRsmW+fhPc1wbmh8sjAbC8dTCya6XFk/0oLMV
AP4kxN67VE0MvTROcVwpepg0f9/yTraJsweXWmnsBJlsGyfXuI19BM2rxBMPNMK3
yP+1UNKZSb4cIXPtqqyswpCt0YgdvJn//gpCi7c=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; s=default; bh=y9YRPuwVlo
83NwP8mA+mhh0bNHQ=; b=IP0aW9uqtDjOakgc/OCcz/9jvIHleW58EVpnZUMHUz
3u1DTWvVrFGqM++226KZMQcz5zrKGPVEj7UInraB9tTzmB1uICdijcZgn1jJwyaR
TPOUi36q8pIcyhnHGApXo3ew3naNvfLhLnepZVLoV6KmqzncKdr/v09yGZWCK//F
M=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=figured, bashrc, H*f:sk:1461884, H*f:sk:f556056
X-HELO: mx1.redhat.com
Subject: Re: "man" hangs attempting to access UNC paths
To: cygwin AT cygwin DOT com
References: <1461777815571-126622 DOT post AT n5 DOT nabble DOT com> <20160428092204 DOT GR2345 AT dinwoodie DOT org> <1461884948878-126637 DOT post AT n5 DOT nabble DOT com> <f556056a-f21a-4035-e0d2-468a7d42cfee AT gmail DOT com> <1461947529357-126661 DOT post AT n5 DOT nabble DOT com>
From: Eric Blake <eblake AT redhat DOT com>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Message-ID: <57239054.1000809@redhat.com>
Date: Fri, 29 Apr 2016 10:48:20 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <1461947529357-126661.post@n5.nabble.com>
X-IsSubscribed: yes

--vNqF3IfOhReDj4XAAGgfdoLiFILCnPlH5
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 04/29/2016 10:32 AM, joeking wrote:
> So I figured out what causes this - but I don't know why.
>=20
> "/" ended up in my path - from some imported configuration in .bashrc.
> When I don't have "/" in the path, then man works.
>=20
> So, given that, why would that cause man to reference UNC paths?

Probably because man has a bug that causes it to use
${name_from_path}/suffix, which works fine if ${name_from_path} is
anything other than /, but which creates a UNC path if it is exactly /.

And the bug is not noticed on other platforms where // and / are identical.

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--vNqF3IfOhReDj4XAAGgfdoLiFILCnPlH5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJXI5BUAAoJEKeha0olJ0NqLC0IAJg8Z5JVKU3MGCxIhX0gDeCA
beCnTmeApxbNSOa1OqfmQA3IBtDv13bkFP7EOZwLA/oXNpNdSYH3AbWweOfS7GoJ
abXIdpDwAtImDD8Oofli0q6o3UI2ZWAxve6HW2M8RPtGpdoF/rQy87yMgX3RQki7
vNwUoT5lW8BzG2HO0/RaHzfjBVDEBQf5P6JLUIgIOt8CzWe1F8UMc7DbaRHUCJbh
NCFEJkUv4a0441FD6QhgY8Krv4HNhT+SoL9AMouwM1OdY1UYP/xUo16mRMtHBZse
Ddpxzvaa6UXZLZbym8JGBrISjbopXNyf0EsXT17Wxf3GnyxhEZwUdr7MU0+i5ho=
=uBMP
-----END PGP SIGNATURE-----

--vNqF3IfOhReDj4XAAGgfdoLiFILCnPlH5--

- Raw text -


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