problem with handle_to_fn ?

Christopher Faylor cgf-cygwin@cygwin.com
Sun Jun 2 20:37:00 GMT 2002


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.

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/



More information about the Cygwin mailing list