> En r=E9ponse =E0 Ingo Weinhold <bonefish@...>:
> what you need is realpath(), which isn't in BeOS (quite lacking...)
> It resolves the final path, traversing symlinks.
> You can either use a BEntry, with the traverse param set to true in
> constructor, as in:
> char *app=5Fname;
> BPath path;
> BEntry rp(=5F=5Flibc=5Fargv, true);
> app=5Fname =3D strdup(path.Path());
As I wrote, this won't work when =5F=5Flibc=5Fargv is a relative path and
chmod() has been called before.
> Or use the trick below, which worked for me already in other
Guess, I'll have to.
> But we really need realpath() in libc now =3D))
It would certainly be nice.