Mail Archives: djgpp-workers/2000/08/15/06:15:59.2
Eli Zaretskii wrote:
> > > I simply don't know who is right, but somehow I don't think Unix
> > > imposes limits of the number of symlinks to a file (which is what
> > > LINK_MAX and _POISX_LINK_MAX are about).
> >
> > This is not number of symlinks to file. This is a number of how many
> > symlinks you can encounter when processing a path.
>
> My Posix references clearly say "maximum value of a file's link
> count". This is what led me to believe that LINK_MAX and
> _POSIX_LINK_MAX are about hard links, not symlinks.
No, I didn't mean to say that LINK_MAX is "a number of how many
symlinks you can encounter when processing a path". I was just
referring to what kind of limit I need here.
Anyway it is solved now - LINK_MAX and _POSIX_LINK_MAX are left intact,
and __solve_symlinks() has been adjusted to have internal limit
instead of referring to those macros.
Laurynas
- Raw text -