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

Re: [MiNT] symlinks and hostfs



On Fri, 2009-08-28 at 23:07 +0200, Vincent Rivière wrote:
> Alan Hourihane wrote:
> > It doesn't ignore it. The initial call to path2cookie() does the real
> > work and operates on the "flag". Then it passes the actual details to
> > the filesystem call. So aranym is never asked to do a stat() directly,
> > it's just emulating what it thinks it should do.
> 
> Sorry, I didn't understand that stuff around path2cookie().

No problem.

> Well, I think every function looking like stat(), lstat(), getxattr(), 
> and so on should be explicitly documented with the expected behaviour 
> with symlinks. It seems that, about symlinks, the hostfs interface is 
> not interpreted in the same way between FreeMiNT and ARAnyM :-(

Documentation is always lacking, but it's ARAnyM that gets this wrong,
not FreeMiNT. It's just plain silly to be doing what it's doing, just
for symlinks.

Alan.