Patch to gengtype.c to increase FD soft limit

Phil Edwards phil@jaj.com
Tue Jun 11 08:23:00 GMT 2002


On Tue, Jun 11, 2002 at 11:08:13AM -0400, Kaveh R. Ghazi wrote:
>  #include "hconfig.h"
>  #include "system.h"
> +#ifdef HAVE_SYS_RESOURCE_H
> +# include <sys/resource.h>
> +#endif
>  #include "gengtype.h"

Loren just discovered a problem with a similar construct in libstdc++, where
we weren't including enough headers.  I don't recall what gets included
in hconfig.h and system.h, so I can't say whether the same problem will
happen here, but you might take a look at Loren's recent postings to the
v3 list to see the problem.

Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams



More information about the Gcc-patches mailing list