Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: problem with multios on irix 5.3, zsh 3.0.1



hzoli@xxxxxxxxxx writes:
>It may be the problem.  The lower bound check was missing indeed and it was
>fixed a few weeks ago.  The upeer bound check is not necessary if the
>fdtable is as big as the maximum number of open file descriptors of the OS.
>Try to modify the
>
>#  define OPEN_MAX 20
>
>line in system.c, give it a bigger value (64 or 256) and see if it stops
>the coredump.  The missing lower bound check is of course a bug but it
>cannot cause coredumps or any noticable problems.

i'll try this.  thanks.

on solaris (reported by a friend), where OPEN_MAX was set to the max
for the OS, it still failed silently, only opening the first N files
(N = about 53.  64 is the max).  is this what it should do?

ray jones



Messages sorted by: Reverse Date, Date, Thread, Author