X-Recipient: archive-cygwin@delorie.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=i4EXqs4Rck2JpA7hzP2pga1pYg8hIiYOCtorISHCi1vuPznYwc/kq
	MvALvUUfhd+OE1D8zoSoArPDYMnJIundt1YD/rhK8t9e6AJX4+FWPW1qMtXefmZ1
	PohR8CZZfoKaxNkl2yVrxi9/F7OTM0pHGRM9ZpOYWzKKpd8mnXHJyc=
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=XtFkqmLuF1JImrp/YHP9KbvEd8c=; b=pG/0sd4Q4Vqr3tVW+mDsrUSiGsSS
	yxqhIKLxMpT7O09W7xmPnw9DKg06ZJQ91D0DBIo/THiu3Ic3kDNf/yHkJNaUtVxE
	eTywveGTiQiVXJIUyvC9qYptwelR0HSs987KNFghKYw1HPyAAO0qQJewR4Fiw3+Z
	xLiXDpUZYpSOPrM=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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: Thu, 8 Jan 2015 18:18:25 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-003 (Christmas/New Year release)
Message-ID: <20150108171825.GB15791@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <announce.20141217131626.GR10824@calimero.vinschen.de> <87oaqynpzq.fsf@Gertrud.fritz.box> <20150107174122.GB4190@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g"
Content-Disposition: inline
In-Reply-To: <20150107174122.GB4190@calimero.vinschen.de>
User-Agent: Mutt/1.5.23 (2014-03-12)

--2fHTh5uZTiUOsy+g
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jan  7 18:41, Corinna Vinschen wrote:
> On Dec 20 19:19, Achim Gratz wrote:
> > Another thing is that the Cygwin home directory is always a
> > sub-directory of the windows home in our environment, so it would be
> > useful if there was a placeholder for the windows home directory (%H or
> > some such) for the /path override or even the schema entries to use.
>=20
> Not unreasonable but tricky.  %H would be an absolute path which
> collides with the current implementation in terms of the leading slash.
> Hmm.

I added a %H specifier to the /path schema which is substituted by the
Windows home path in POSIX notation.  So, what you should be able to do
now is something like:

  db_home: /%H/cygwin

If %H is preceeded by a slash, the slash gets removed since %H is
already an absolute path.  However, the code is not explicitely checking
for nonsense, like

  db_home: /foo/%H/baz

It will just replace that with something like

  /foo/cygdrive/c/Users/Willy.Brandt/baz

so you end up with a broken home path.

This new feature is not documented yet, and for testing I'd like to urge
you to try the latest snapshot from https://cygwin.com/snapshots/  If
that change works as desired, I'll add documentation and release
another, hopefully one of the last, Cygwin test releases.


Thanks,
Corinna

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

--2fHTh5uZTiUOsy+g
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUrrvhAAoJEPU2Bp2uRE+gCYYQAKNWznaJo94wznPXFz1bsVDs
7/4AOoO1Q3ZsvV0/+102ADaBM5LhypQ8kA3qTf54D/QtaA6oB9tFlo10pptRVHQw
RrGfl9nQsZjlV46IASiTA7q0jUilYGuvJkxXJQUGOZ1oMTTwPmRiaBr60PITdgCb
AsDEE/k1qrNn7un6/tjAHGHpOr0rbZvPVI0AzeKWAxGtuGzrik55bFZXN/N0gOIc
xMw7tCbz8YvL7/icuO5a/kvYAFylfwapvoeFV11S02ZVauueVvK8Y0R2vNoELpZC
/Td5t9vdq8zhPH6knvJkrx5866KK8uZklXsJahytEUYb+OzKqVk6ExW39onjKzvZ
QmL4dXrxXVj1b8gzsQOF1aC5LW9YtlqikwZxe1lIJQwWL0Z+YfWHdm2yXq9qGJqp
+a45jojErW5QMWkle9/xnQ1d1a+s00HGIMb4AelAWNVOSrS9x8hYtgnRDeofeXSN
Lo/MvG7Oe2VMuM+VgxFGyXhsu4btwFLjWVhw6dwtjQyGQgLm1Uozm8AnH9JAVu4c
7CA9k0YJym7ex9QVdUKhEbyO/ZkPgOdd2Om1Xvv/Ryw8rABuoyrshjqYa5cgklLI
DAKv5QHCSfUYVEP0Dd7MW0A6xbaD0SRy/rUwKjBv1Rv3JSmzvrngtES7TtQ0apRq
bIbVdoGESl1pssc2KR1W
=59+W
-----END PGP SIGNATURE-----

--2fHTh5uZTiUOsy+g--
