In our previous episode, John Marino said:
> >>
> >> If something is wrong it sometimes shows up in ptrace.
> >>
> >> getcwd is a likely candidate since afaik that changed FreeBSD 5+
> > 
> 
> getcwd seems to work okay, I don't think that's a problem.
> This is where the problems start (cfileutl.pas, PathExists function):
> 
> if allowcache then
>   Result:=DirCache.DirectoryExists(hs)
> 
> The DirCache.DirectoryExists function always returns false, even on
> valid paths.
> 
> Still looking...

/me points to the fallback code of when fpgetcwd fails in unix/sysdir.inc:
function  do_getdir.

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to