On Jan 29, 11:33am, Jeff Vance wrote:
> Subject: Re: Linked file sizes in Posix
I wrote:
> I think that LISTFILE and FINFO (and FLABELINFO) need to be enhanced to
> let the user decide whether or not to follow symbolic links. That said,
> you can do a LISTFILE ,7 to see the target of the link and then a LISTFILE,2
> (or finfo) on that target name to get the real eof.
I just remembered that the FLABELINFO intrinsic does allow the caller to
specify whether or not to follow symbolic links. The "mode" parameter
supports this: bits 11:1 0 means traverse thru symbolic links, 1 means
do not follow symbolics. This applies only to the last component of an
HFS pathname. It appears that following symlinks is the default.
Jeff Vance, CSY
--