X-Spam-Check-By: sourceware.org
Message-ID: <468B657B.3050306@mff.cuni.cz>
Date: Wed, 04 Jul 2007 11:16:43 +0200
From: Pavel Kudrna <Pavel.Kudrna@mff.cuni.cz>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: bug in cygwin_conv_to_posix_path() caused by period in win32    path
References: <468A1024.8000007@mff.cuni.cz> <468A441A.2000009@cygwin.com>
In-Reply-To: <468A441A.2000009@cygwin.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
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

Larry Hall (Cygwin) wrote:
> On 07/03/2007, Pavel Kudrna wrote:
>> >
>> >
>> >     * /From/: "Dave Korn" <dave dot korn at artimi dot com>
>> >
>> >   They are legal, but there's no possible way to convert them to 
>> POSIX, which
>> > has no notion of a per-drive current directory.
>> >   Ok, but Cygwin != POSIX :-)
>> Cygwin application has environment variable for each drive letter to
>> remember current drive. See example and run it from cmd.exe.
>
>
> And current drive != current directory on that drive.
Sorry for inaccuracy, I wanted to write:
Cygwin application has environment variable for each drive letter to
remember current DIRECTORY.
Here is example:
!C:=C:\Program Files\cygwin\bin
!L:=L:\home\kudrna\test\z
!S:=S:\
!T:=T:\
> FWIW, the environment variables you speak of come from Windows.
I'm not sure where those variables come from.
But if the program is compiled with -mno-cygwin those variables do not 
appear.
Do you mean that the variables are present but hidden in that case?
Pavel Kudrna

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

