Mail Archives: cygwin/2001/04/25/12:06:34
Corinna wrote
>On Wed, Apr 25, 2001 at 02:09:48PM +0200, Pierre Muller wrote:
>> At 13:13 25/04/01 , vous avez écrit:
> > >Could be a buffering technique of W95. I have just read the Microsoft
> >KB article Q128932 "How Windows 95 Resolves Shortcut Links" but it
> >doesn't obtain any additional information.
>
> Using strace seems to indicate that the file test.h.lnk is read!
>
>Sure it's read. Cygwin doesn't see if the file is actually read or
>if the file content is read from an already existing OS buffer.
>
>> Should I send you the binary link file and the strace output.
>
>Actually I have no hope to find something strange from the strace
>but it doesn't hurt. Send the strace (not the link file which
>is useless to me) as gzipped attachment to mailto:vinschen AT redhat DOT com.
>
You are probably right:
there is no read after the call to CreateFileA
for the symlink disk file)
I now tested it by first setting the link in the Windows explorer (WE)
and testing this, I found out the following:
setting a link with WE works for cygwin bash
it simply reports the win32 path of the target file.
Changing it with WE works normally and is reflected correctly.
But removing the file in bash are setting it to another
target makes the windows link reappear unchanged !
Note that if remove the link from inside WE then
the subsequent call to ln works correctly
(the link is to the corrct file,
but in WE I still get no target file written !)
It seems like WE is doing something more than just deleting
the test.h.lnk disk file !
Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller AT ics DOT u-strasbg DOT fr
Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -