delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/15/05:02:17

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=czl4xLAaqSbpiTK0mClbqte0gu+0suDVYeai7ww2IfdvAAGzqgPGK
D1DPfXolJMTCq8O6J1WQsZ9ZMT2tNlJfBSnDKxw27SJQI7BkENrHZrXzLTpWNxi9
ok2lertW17ZlVHbUDI7fwUGFsj8Rm8eNyn3/5kjUdQB1K/1Vu7EJxQ=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=XdQjQso8QxKhSrMc+IeBPq98JyQ=; b=tltqOeDiSU1Vg8Ro7NUJU5maru4u
+4JSER0znvkgkDeHPhX0dpmGe/n86A+DKo2kKcg0QB9lPgGuRJ9Dq0Md6d7RFouO
/0o1IK15KonA/tHMWW35r0+WiZlagFxRi62Y4dxsavqOth9asACBhnkbCLN5rMAE
X1nlnUrXnhPdwaU=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Sun, 15 Feb 2015 11:01:58 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.1
Message-ID: <20150215100158.GJ7225@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20150212202323 DOT GI7818 AT calimero DOT vinschen DOT de> <74410B36-A057-483B-AAA3-20C15934374E AT Denis-Excoffier DOT org> <2F8A6D52-E4D9-48D0-BC21-13213AAC9F4B AT etr-usa DOT com> <A2F3E911-AA9A-4CFD-ACA7-9C5269339F92 AT Denis-Excoffier DOT org> <3EA256B1-DF23-4633-A6E7-6A73EB303228 AT etr-usa DOT com>
MIME-Version: 1.0
In-Reply-To: <3EA256B1-DF23-4633-A6E7-6A73EB303228@etr-usa.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Feb 13 14:47, Warren Young wrote:
> > On Feb 13, 2015, at 2:30 PM, Denis Excoffier <cygwin AT Denis-Excoffier DOT or=
g> wrote:
> >=20
> > On 2015-02-13 22:04, Warren Young wrote:
> >>=20
> >> I don=E2=80=99t think you should use %H when that directory might cont=
ain spaces.
> >=20
> > You misunderstand. I don't need this stupid 'Document and Settings' thi=
ng. I need %H to represent my home dir, that means
> > /cygdrive/d/Home/myuser1 on this XP P3 (a corporate one) and /cygdrive/=
c/Users/myuser2 on this W7 (another corporate).
>=20
> In that case, I think you just want
>=20
> 	db_home: /%H
>=20
> %H already expands to a directory that contains your Windows user
> name.  You don=E2=80=99t need to add %U to it.
>=20
> > But currently, on XP SP3, the %H is replaced by '/cygdrive/d/Document a=
nd Settings/myuser1' which i'm pretty
> > close to consider as a bug. Should be '/cygdrive/d/Home/myuser1' i supp=
ose.
>=20
> I=E2=80=99d be stunned if cygwin1.dll is hard-coding that string.  It mus=
t be
> getting it from somewhere.  I would do a registry scan to see if there
> is still some setting that still refers to c:\Documents and Settings.

I hope https://cygwin.com/ml/cygwin/2015-02/msg00425.html explains it
thoroughly enough.  Does %H need a better description in the docs?


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--Zrag5V6pnZGjLKiw
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU4G6WAAoJEPU2Bp2uRE+gCP8P/iDPY+WfU6dqK9pAgu+3jQZS
H+8W+RLCtOBnj+487fWKhWT+fM74mPeH3x2TXBnYptXnrEnFHhTy1eKdjBKbpE8B
z9uxwh92vZWb78qWVgxoWzFY6r5XXbmd6qEKTNIdTjxJOujObbX1Axt24htzo3i3
CIapUPL+7pA8gSi2mSifJShstPo/Gf/0OOPbUGoJDvRqoAFdiPqbfQeWy6omLcOG
8JyAzJFOH0E0GkrgzsVLwWMsnrzn/JHH9xa7X3GCKNyNxjhQvERsqUqPRVg4jCSw
STBPyQOOc18svzgyqEEJxYYPxYgvRYpMsnfWnznEkHq6dUQ5OLpqq1lS7QgyzjV8
RWgZFC0e/j00SsHhfp5iphXgiWgDycV0BERTLsaJ8N2BFFF2WgvhjQwR6akOdL8w
/uiIgK6V41YqQUNBQs9kMfNFg4twIvZ9rmplZQxr/eLryjw3Dxq8j7uP0wm9ODWN
TqlVFUTWepH6AA7haHqQATQ2bnMaX0bQ9ahMLm2yzGqCVrvBrEkEse6NfjOAaNcD
5GnBtyIAl1kjkQA02cpB+s79J7S9zBIkdyU1gk7cBAp3VTBLP7U653rtw3JVMZT+
f1OPqqAJ4wp5C/Gt/q3lC2buw/OQQ66PO99o1TxAS6OvZuWCQlB6ux8g1gcCbNJC
JENKcFtpy3aCciWUVwjQ
=RoHQ
-----END PGP SIGNATURE-----

--Zrag5V6pnZGjLKiw--

- Raw text -


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