[ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-003 (Christmas/New Year release)

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Jan 8 17:18:00 GMT 2015


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

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150108/f4e3e08c/attachment.sig>


More information about the Cygwin mailing list