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:mime-version:date:message-id:subject:from:to
	:content-type; q=dns; s=default; b=V1ZCO2+6VCxcNJFpHPyJXCjqp3Wzu
	K44oISxpLeg1wYpO1msKlBzYE+BTrF8srRCU6S5Zq2/Cr2dNpPBdK5CrFyL5AEut
	ejiVxeee2mQ7Pa+mz/O7jTEWVEKay7I3/1XbxE4ShBiXU0S8UMJoDQwcKvOf5oK4
	rbrhWOHdvJWO54=
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:mime-version:date:message-id:subject:from:to
	:content-type; s=default; bh=mH0yVcwHI8OaLO0mVTf8H3suQEk=; b=wc4
	nH8Rr7elDgALyVLx+dLBf5sO7EFL/6jCuWbpoLpVvR8zMpz1ToHhXPsjGWpq6MK6
	2toiGEatXZayXksaXiV5q/jHsYYjpnsuSf87WAdO+gaa89QAE8Y47cIYeNCHsHNv
	YzNLKkpJVBqG+P/L8C/RhuqAsi35AsudywnmbucE=
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
X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=AWL,BAYES_00,CHARSET_FARAWAY_HEADER,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TW_YG autolearn=ham version=3.3.1
MIME-Version: 1.0
X-Received: by 10.180.76.137 with SMTP id k9mr2120388wiw.62.1371064529951; Wed, 12 Jun 2013 12:15:29 -0700 (PDT)
Date: Wed, 12 Jun 2013 22:15:29 +0300
Message-ID: <CABEPuQJCCX6he=-kdMX_XNA-t8DgOqZZxbYpB+3ZAqqqC3hT4w@mail.gmail.com>
Subject: cygpath problem
From: =?KOI8-R?B?4czFy9PFyiDwwdfMz9c=?= <alexpux@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1

Hi everybody!

I have a question about using cygpath.
Trying to get windows paths in different locations

alexey@78CE /cygdrive/c
$ cygpath -w .
.
alexey@78CE /cygdrive/c
$ cygpath -w /cygdrive/c
C:\
alexey@78CE /cygdrive/c
$ cd /home
alexey@78CE /home
$ cygpath -w .
C:\Test\cross32\home\

As I see I cant properly get windows path if I try to get it on
current directory that contain /cygdrive prefix.


Is it feature or bug?


Regards,

Alexey.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

