>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

>>> Jean-Marc Lasgouttes writes:
>>>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
>>>>> Jean-Marc Lasgouttes writes:
Lars> [...]
JL> Another concern: how portable is readlink()? Is it commonly
JL> supported on all unices? What to do about OS/2?

Lars> It seems to not be posix.

Lars> I can't find out if readpath is posix, if it is we could use
Lars> that.

JL> If I understand correctly, ls.c from fileutils uses readlink
JL> without particular problems. So maybe is it safe.

Lars> GNU fileutils?

Lars> yes, perhaps it is safe, but better would be sure that we used
Lars> posix funcs.

Yes, the GNU one. I looked at it once more, and all they do is enclose
all the link code with a '#ifdef S_ISLNK'.

JMarc

Reply via email to