Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: OPEN_MAX from sysconf
- X-seq: zsh-workers 2395
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxx>, zsh-workers@xxxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: OPEN_MAX from sysconf
- Date: Wed, 13 Nov 1996 09:46:00 -0800
- In-reply-to: Peter Stephenson <pws@xxxxxx> "Re: OPEN_MAX from sysconf" (Nov 13, 5:28pm)
- References: <199611131628.RAA06320@xxxxxxxxxxxx>
- Reply-to: schaefer@xxxxxxx
On Nov 13, 5:28pm, Peter Stephenson wrote:
} Subject: Re: OPEN_MAX from sysconf
}
} Johan Danielsson wrote:
} > A lot better, but I assume that you can raise it to an arbitrary
} > limit. The solution we are really looking for is something better than
} > having to malloc(arbitrary number).
}
} You could have some maximum for the initial allocation for fdtable and
} get the stuff in utils.c to allocate more if it was necessary.
I don't think it's worth the effort. In practice there's always going
to be *some* hard limit, even if it's in the thousands; a few thousand
chars allocated isn't going to make that much difference to zsh.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.nbn.com/people/lantern
Messages sorted by:
Reverse Date,
Date,
Thread,
Author