On Thu, 2003-02-20 at 04:24, Andres Kroonmaa wrote:
> hi,
>
> we should really avoid fopen() in any place. it may fail when
> first 256 FDs are in use. Cause of failures during reconfig.
Does C++ ifstream suffer the same thing?
If not, then we can convert to that.
If it does, then we need to write our own text and binary mode aware
fread and fwrite lookalikes.
Or, perhaps we open a couple of spare fd's in the first 256, and then
keep them open until reconfigure, and open again afterwards -
semaphore-like.
Rob
-- GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:16 MST