tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH 6/6] fdopen() opens successfully more descriptiors than STREAM_MAX
On Thu, Aug 21, 2008 at 09:02:00PM +0300, Andy Shevchenko wrote:
> On Thu, Aug 21, 2008 at 6:30 PM, Joerg Sonnenberger
> > This patch is wrong. FOPEN_MAX and STREAM_MAX are soft limits.
> > They are the minimum support number of open stream and exceeding this
> > limit is allowed.
> May be you are true. But I don't see the similar sentence in the SUSv3.
Take a look at the description of the constants in limits.h (or
stdio.h). Also, apply some common sense: Does it make sense to stop an
application after opening 8/20/whatever streams?
Joerg
Home |
Main Index |
Thread Index |
Old Index