On Jan 25, 2001, Martin Buchholz <martin(a)xemacs.org> wrote:
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'll give it a spin. But I doubt I've got this many links. It must
be something else.
I don't know what Linux does now, but didn't it used to have
an
incredibly low limit, like 5?
I don't know. I don't encounter the limit with any system calls, I
think it's just with pathname canonicalization as done by XEmacs. I
don't encounter any problem with GNU Emacs either. In fact, whenever
XEmacs fails to open a file with this kind of complaint, I go open it
with GNU Emacs and it works. Same machine, same pathname.
One would think you would be using Linux on one of your machines,
given your email address...
Sure :-)
But not only...
So actually, I think you're hitting the Linux kernel or libc
limit,
not the XEmacs limit.
I doubt it.
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.
If that were the case, I'd ping Uli about it. But I'm pretty sure it
isn't.
--
Alexandre Oliva Enjoy Guarana', see
http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva(a){cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva(a){lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me