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

Re: [MiNT] Strange getcwd() return value



On Wednesday 16 October 2013 19:29:48 Ole wrote:

> > I've just stumbled upon something that baffles me (to be honest, I'm
> > easily
> > baffled). I have a desk accessory that runs from /f/dir/ and when I
> > get the
> > current working directory with getcwd() the path I get is
> > "/dev/f/dir". Where
> > does this "/dev" part come from and does that make sense? 

>  I've also stumbled upon this bug in the function realpath() when
>  porting netsurf. AFAIK it only happens
>  when running under classic TOS, but not when running under FreeMiNT!
>  Vincent R. confirmed the
>  bug. So, notice: It only happens under classic TOS. Can you confirm
>  that?

No, as I wrote, this is with FreeMiNT (1.19, but same with 1.18). I haven't 
used TOS since circa 1995.

Cheers,
JFL
-- 
Jean-François Lemaire