[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] symlinks and hostfs



Petr Stehlik a écrit :
Finally reproduced (on Windows) and hopefully fixed. Thanks for the bug
report and sorry for such long thread.

Petr, thanks for the binary you sent me privately.

Now the "samantha" symlink, located in C:\, works as expected and is seen as a symlink by MiNT.

But the same example in a subfolder works incorrectly.
For example, with TeraDesk :
1) Go into C:\clocky
2) Make a relative link to setclock.app (check on the host: it is correct).
3) Display the link information in TeraDesk: at the bottom, the To: field shows clocky/setclock.app. The directory "clocky" should not be present, it is incorrect. If you try to run the link it does not work.

As I already told you, in your readlink implementation you should return the value returned by the host's readlink without hacking it. You should drop that intermount machinery used for tweaking the readlink value.

--
Vincent Rivière