Quick test using ifstream shows that this is not crippled in the same
silly manners on Solaris.
Regards
Henrik
On Wednesday 19 February 2003 22.16, Robert Collins wrote:
> 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
Received on Wed Feb 19 2003 - 14:48:14 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:16 MST