delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/03/12:12:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Mon, 3 Jun 2002 12:12:08 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: problem with handle_to_fn ?
Message-ID: <20020603161208.GA22575@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <002f01c20a20$0064c330$0100a8c0 AT advent02> <20020602165449 DOT GA13484 AT redhat DOT com> <20020603033750 DOT GA8944 AT redhat DOT com> <200206031330 DOT 46435 DOT chris AT atomice DOT net>
Mime-Version: 1.0
In-Reply-To: <200206031330.46435.chris@atomice.net>
User-Agent: Mutt/1.3.23.1i

On Mon, Jun 03, 2002 at 01:30:46PM +0100, Christopher Charles January wrote:
>On Monday 03 Jun 2002 4:37 am, Christopher Faylor wrote:
>> On Sun, Jun 02, 2002 at 12:54:49PM -0400, Christopher Faylor wrote:
>> >On Sun, Jun 02, 2002 at 11:26:47AM +0100, Chris January wrote:
>> >>With the recent changes in grabbing the path of a file from its open file
>> >>handle I'm seeing the following:
>> >>Initially the path is as follows:
>> >>\Device\HarddiskDmVolumes\PhysicalDmVolumes\BlockVolume1\......
>> >>but later it gets translated to:
>> >>/cygdrive/c/Device/HarddiskDmVolumes/PhysicalDmVolumes/BlockVolume1/...
>> >>which then gets translated back to:
>> >>c:\Device\HarddiskDmVolumes\PhysicalDmVolumes\BlockVolume1\....
>> >>which AFAIK is an invalid path...
>> >
>> >Even if this function fails, the net result should be no different than
>> >what cygwin used to do.  It always used an invalid path in that scenario.
>> >
>> >Are you actually seeing failures related to this?
>>
>> FWIW, I couldn't duplicate this but I did take a stab at fixing the
>> problem.  handle_to_fn was doing the wrong thing with network drives.  I
>> fixed that, too.
>To duplicate try something like strace cat file >someotherfile. I think that 
>should work.

That is the specific thing that the handle_to_fn is supposed to
accommodate.  That is how I checked it.

So, still two questions "Are you seeing failures?"  and "Are you still seeing
this behavior with the latest sources?"

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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