>>>> "AO" == Alexandre Oliva
<aoliva(a)redhat.com> writes:
AO> BTW, there's another issue in XEmacs that has been bothering me for a
AO> while. It seems to have a very low limit on resolving soft links, and
AO> I often get errors from ``Finding truename: Too many levels of
AO> symbolic links''. It turns out that, because of various reasons, my
AO> various cross-NFS-mounted home directories are a maze of soft-links,
AO> and XEmacs imposes a lower limit than what would have been enough for
AO> me. It hasn't annoyed me sufficiently for me to go hunt the culprit
AO> piece of code and increase the limit myself, but... Any chance of
AO> getting this limit increased a little bit? :-)
If changing the definition of MAX_READLINKS in src/realpath.c
#define MAX_READLINKS 32
to
#define MAX_READLINKS 64
fixes your problem, then I would accept that change for 21.1 and 21.2.
I don't know what Linux does now, but didn't it used to have an
incredibly low limit, like 5? One would think you would be using
Linux on one of your machines, given your email address...
So actually, I think you're hitting the Linux kernel or libc limit,
not the XEmacs limit.
I've occasionally thought about fixing this limit in the Linux kernel
and in libc, and in XEmacs. If you want to fix this, I'm probably
easier to convince than Linus or Uli.